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 7104E44B0E for <ffmpegdev@gitmailbox.com>; Sun, 23 Mar 2025 04:37:15 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A217C687C6B; Sun, 23 Mar 2025 06:37:12 +0200 (EET) Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 41F34687AB5 for <ffmpeg-devel@ffmpeg.org>; Sun, 23 Mar 2025 06:37:11 +0200 (EET) Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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-201.mailbox.org (Postfix) with ESMTPS id 4ZL3LX4GCGz9sb8 for <ffmpeg-devel@ffmpeg.org>; Sun, 23 Mar 2025 05:37:08 +0100 (CET) Message-ID: <97e62e82-ca91-4854-82b1-70a536984800@gyani.pro> Date: Sun, 23 Mar 2025 10:07:06 +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> Content-Language: en-US From: Gyan Doshi <ffmpeg@gyani.pro> In-Reply-To: <1ec268e9-4b2f-4d4a-97d8-fd7fa164612b@gyani.pro> X-Rspamd-Queue-Id: 4ZL3LX4GCGz9sb8 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/97e62e82-ca91-4854-82b1-70a536984800@gyani.pro/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> 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. 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".