From patchwork Sat Apr 15 22:05:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marton Balint X-Patchwork-Id: 41198 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4645:b0:e3:3194:9d20 with SMTP id eb5csp1412162pzb; Sat, 15 Apr 2023 15:06:48 -0700 (PDT) X-Google-Smtp-Source: AKy350a1sjyI+R1s7B7HMekYVUUJg72M91HHl0JkfV2hgF2FlpCoNf53tL3ifj/BMbHdZFT6pdzl X-Received: by 2002:a05:6402:1486:b0:504:8a10:ac34 with SMTP id e6-20020a056402148600b005048a10ac34mr9939672edv.24.1681596408544; Sat, 15 Apr 2023 15:06:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681596408; cv=none; d=google.com; s=arc-20160816; b=hnNIchT2FZSLU7Qjr1V5abmXM0RWcNhUo1Ze/Zng0osTgWacNZV/3WP3Y1BNfA7IVy 7rkKzpTydMUJYJmY2G1lxjDFqu/kufhTH8c4Fa0NjHZwYFJWZv1cTSWDi6JtjXiiT3sM QOz61AxO3rNgAmV+nPZ4PU3wl2fqehlyzcsfn+6Z+/0hfhSftTJtvDvBfav28YgVjXaC GW1Cf/jDTjhcgABFAH/brWDOfiQFFmcIQc/0xi8SR2gIEZ6TD8XWxAVWmIZWNrG02eBG 5BqAJjichuINQ8uejiYuk1itH5jYm7K4lIIiK8hJEbn3UORH4CcGuTxF26yEQIhoMkBt VOsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:delivered-to; bh=eePVqQWDzqbmR2L7GgxGlMaucFiBAtUQ4tK5rh5Uj40=; b=L71+exaQXPZY/1FYdo8AFCFfITeP8Kg5rJaodMb1wYLwijnaJZZsoRml/OEdXkBtZY QqI1QuuThG+M/ZLe3WCQH4mhD0fNaRgAwHlRN6UiLgyn4Lx0ReN1PvTCW2n6SK+wV+6k +AQsW3wog4SdBhRKB1eqzfaGmXYmw1vGaWBlvzy2I4ACoYOSIsBMALFmfaqC7/G1ymhd ay6plNFVfcbrwUlbkmKjHK2CY4TQ1tDUeXlR/5unrG1X+rItspy/VNLX93HJxeEABgnJ fFwaWmLLlaX0vtSj15YzXe9906CPInK2SYu2p64ldOqDynYoZU0RcJuXJsNCUso5F6F9 r5zQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id r26-20020a056402019a00b0050508b222f1si6361594edv.461.2023.04.15.15.06.48; Sat, 15 Apr 2023 15:06:48 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C06F368BE2B; Sun, 16 Apr 2023 01:06:20 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from iq.passwd.hu (unknown [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C127368BE11 for ; Sun, 16 Apr 2023 01:06:13 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 47F13E8A2D; Sun, 16 Apr 2023 00:05:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0VN4Yjvxe_Qa; Sun, 16 Apr 2023 00:05:33 +0200 (CEST) Received: from bluegene.passwd.hu (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id B108AE8A0F; Sun, 16 Apr 2023 00:05:31 +0200 (CEST) From: Marton Balint To: ffmpeg-devel@ffmpeg.org Date: Sun, 16 Apr 2023 00:05:56 +0200 Message-Id: <20230415220558.16122-4-cus@passwd.hu> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230415220558.16122-1-cus@passwd.hu> References: <20230415220558.16122-1-cus@passwd.hu> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/6] avformat/smoothstreamingenc: do not override movflag defaults X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marton Balint Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: CUXNvmPCK3ng Signed-off-by: Marton Balint --- libavformat/smoothstreamingenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index 66e6313934..3c050ca54e 100644 --- a/libavformat/smoothstreamingenc.c +++ b/libavformat/smoothstreamingenc.c @@ -340,7 +340,7 @@ static int ism_write_header(AVFormatContext *s) } av_dict_set_int(&opts, "ism_lookahead", c->lookahead_count, 0); - av_dict_set(&opts, "movflags", "frag_custom", 0); + av_dict_set(&opts, "movflags", "+frag_custom", 0); ret = avformat_write_header(ctx, &opts); av_dict_free(&opts); if (ret < 0) {