From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 30FA44921A for <ffmpegdev@gitmailbox.com>; Mon, 24 Mar 2025 10:53:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B8792687A4E; Mon, 24 Mar 2025 12:53:49 +0200 (EET) Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C90546879E1 for <ffmpeg-devel@ffmpeg.org>; Mon, 24 Mar 2025 12:53:48 +0200 (EET) Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4ZLqff295Mz9scX for <ffmpeg-devel@ffmpeg.org>; Mon, 24 Mar 2025 11:53:46 +0100 (CET) Message-ID: <7e766473-5020-4d92-91ab-73bde7b44d97@gyani.pro> Date: Mon, 24 Mar 2025 16:23:42 +0530 MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org References: <20250316072004.988-1-ffmpeg@gyani.pro> <b6b91339-c6b5-467e-8466-baed59553f84@gmail.com> <1ec268e9-4b2f-4d4a-97d8-fd7fa164612b@gyani.pro> <97e62e82-ca91-4854-82b1-70a536984800@gyani.pro> Content-Language: en-US From: Gyan Doshi <ffmpeg@gyani.pro> In-Reply-To: <97e62e82-ca91-4854-82b1-70a536984800@gyani.pro> X-Rspamd-Queue-Id: 4ZLqff295Mz9scX Subject: Re: [FFmpeg-devel] [PATCH v2] ffmpeg: add per-stream input option drop_changed X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> Archived-At: <https://master.gitmailbox.com/ffmpegdev/7e766473-5020-4d92-91ab-73bde7b44d97@gyani.pro/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> On 2025-03-23 10:07 am, Gyan Doshi wrote: > > > On 2025-03-16 11:39 pm, Gyan Doshi wrote: >> >> >> On 2025-03-16 11:12 pm, James Almer wrote: >>> On 3/16/2025 4:18 AM, Gyan Doshi wrote: >>>> This is a replacement in ffmpeg for the deprecated avcodec flag >>>> AV_CODEC_FLAG_DROPCHANGED. >>>> >>>> This option is meant to be used when the filtergraph should not be >>>> reinited upon input parameter changes as that leads to loss of state >>>> in the filtergraph potentially leading to broken or aborted output, >>>> e.g. inserting of silence with first_pts specified in aresample. >>>> >>>> Generally useful to avoid corrupted yet decodable packets in live >>>> streaming inputs. >>>> >>>> This option when enabled takes precedence over reinit_filters >>> >>> How does this differ from simply setting reinit_filter to false, if >>> what you want is the filtergraph to not be reinitialized? >> >> av_buffersrc_add_frame_flags will return an error for all audio >> frames with differing parameters, as no filters are yet capable of >> handling them. ultimately leading to program exit. >> Same is true for video frames barring a handful of filters like scale >> or idet ..etc > > Plan to push tomorrow. Pushed as cbbc927a67f142a02bfc5d047c03587599ee5b55 Regards, Gyan _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".