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 14D2647F96 for ; Tue, 4 Jun 2024 19:17:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 28EBC68D6DB; Tue, 4 Jun 2024 22:17:43 +0300 (EEST) Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8A1FE68D631 for ; Tue, 4 Jun 2024 22:17:36 +0300 (EEST) Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a6302bdb54aso757234366b.0 for ; Tue, 04 Jun 2024 12:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717528655; x=1718133455; darn=ffmpeg.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=NG4a48OS0/iE3MVf9DBi0v9U+AMsQW3+tYzgniQTIiA=; b=TOgCOVmNdvmEC6KEqtVPy81kT5tv2WFn8MnBiBly3CAwg8NbvnmUWo3cczSSoseKIo PiNYgX9oOHrnvZnIQgQ2td4AWMcthurRINJ8yjbyNIi0xLWhWNQKmdsIs6/Sra8thcnl IkmU2tblIvekdT0aT8HMu1u59aDHHXZFfWdYrgOsowpaop8MnnydYTbsbhT0EVlll0rq vl8rRM17bEljNTSADWfScZmgBkK6CCHtgPIMZBbh3OEcTt6fAmft1/6Tiw4sYTCL54AU S16PK//TmD9iL4/U4j+XBWmyDLr71hkzVxHMPSRWp8AjYL4myx9I1rQn7ouGn9QBLdC2 wivg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717528655; x=1718133455; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NG4a48OS0/iE3MVf9DBi0v9U+AMsQW3+tYzgniQTIiA=; b=G2evu2EI7oIEYuYClua2GuxehWTWOKyKE1BQ/5qR31uj6M8zj53xi1Lqz25ifw02oN 3vIG+XF2ABbFvMNHXdSiHcRax/jl6vFVAzuWcL/zVum1VEMEQDof7CSlzoohSapTva+P eJAAkAg5UAIgzSF3BVpZav1avazN1azpAjzPaV4xi1hETpKi4jRR+BWpRSSr59KVBzpD LdIT5Tr4Lo/GNu9NkXf3WXSQGGpq6m4uqF+MvOlZuGGynrlDbM2SXosoMB5vggki4+Sj 8tBW10+Wb8kqYB19xZ945SM5f2rXXmTYIlWC8qWhQ1WeTWSmgN4PaH+0xrXsORV/6tU7 DNVA== X-Gm-Message-State: AOJu0Yx4ZYoiBrnv43BwOxlYfNw3SrOqyY6a0SRlMptYSPtVqbGCQjvv x2tvbn8qUkmPcvcquPSUoCULZlROCTRYMucala74pICPIneFdFunVdvvkw== X-Google-Smtp-Source: AGHT+IGGUKv8AJmTJsbnEpvgxEtrmJXPc9tIZ8ootQ1CAuzOGZ3NBdZI84kxJ9XoSfkbrphAcxEzaQ== X-Received: by 2002:a17:906:79d7:b0:a68:bfe9:a111 with SMTP id a640c23a62f3a-a699fcdfa92mr27177766b.55.1717528655158; Tue, 04 Jun 2024 12:17:35 -0700 (PDT) Received: from mariano (dynamic-adsl-84-220-189-10.clienti.tiscali.it. [84.220.189.10]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a690bb8a558sm327421766b.37.2024.06.04.12.17.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 12:17:34 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 747C6BFCE8; Tue, 4 Jun 2024 21:17:33 +0200 (CEST) Date: Tue, 4 Jun 2024 21:17:33 +0200 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <20240604181105.264-1-ffmpeg@gyani.pro> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240604181105.264-1-ffmpeg@gyani.pro> User-Agent: Mutt/2.1.4 (2021-12-11) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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. _______________________________________________ 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".