From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 3050C4A9C8 for ; Thu, 6 Jun 2024 09:41:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9F8A568D6A6; Thu, 6 Jun 2024 12:41:42 +0300 (EEST) 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 A3E3C68D0DD for ; Thu, 6 Jun 2024 12:41:36 +0300 (EEST) 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 4Vvzqf3270z9sqG for ; Thu, 6 Jun 2024 11:41:34 +0200 (CEST) Message-ID: <85b067c0-e911-4da5-9475-ab83f956e37f@gyani.pro> Date: Thu, 6 Jun 2024 15:11:30 +0530 MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org References: <20240604181105.264-1-ffmpeg@gyani.pro> Content-Language: en-US From: Gyan Doshi In-Reply-To: X-Rspamd-Queue-Id: 4Vvzqf3270z9sqG Subject: Re: [FFmpeg-devel] [PATCH] avfilter/trim: flag trim filter as metadata only 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 2024-06-05 12:47 am, Stefano Sabatini wrote: > On date Tuesday 2024-06-04 23:41:05 +0530, Gyan Doshi wrote: >> Similar to select filter for video - it can only pass through or drop frames >> --- >> libavfilter/trim.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/libavfilter/trim.c b/libavfilter/trim.c >> index 4c1a2b4f48..4afc4c74bb 100644 >> --- a/libavfilter/trim.c >> +++ b/libavfilter/trim.c >> @@ -364,6 +364,7 @@ const AVFilter ff_vf_trim = { >> .activate = activate, >> .priv_size = sizeof(TrimContext), >> .priv_class = &trim_class, >> + .flags = AVFILTER_FLAG_METADATA_ONLY, >> FILTER_INPUTS(trim_inputs), >> FILTER_OUTPUTS(ff_video_default_filterpad), >> }; >> -- >> 2.44.0 > Should be good. Thanks. Pushed as d55f5cba7b1fd362beb3b0322c5674016a85e859 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".