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 E5DB749EE0 for ; Wed, 13 Mar 2024 13:14:35 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F3A2568CF3F; Wed, 13 Mar 2024 15:14:31 +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 EDC2068CC2B for ; Wed, 13 Mar 2024 15:14:24 +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 4TvrZQ1q43z9sNf for ; Wed, 13 Mar 2024 14:14:22 +0100 (CET) Message-ID: <5fb8cf62-2986-41ba-838a-c3c24c2efdbc@gyani.pro> Date: Wed, 13 Mar 2024 18:44:19 +0530 MIME-Version: 1.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20240313122425.92457-1-ffmpeg@haasn.xyz> From: Gyan Doshi In-Reply-To: <20240313122425.92457-1-ffmpeg@haasn.xyz> X-Rspamd-Queue-Id: 4TvrZQ1q43z9sNf Subject: Re: [FFmpeg-devel] [PATCH 1/2] avfilter: mark scale2ref as supporting dynamic sizes 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-03-13 05:54 pm, Niklas Haas wrote: > From: Niklas Haas > > Analogous to the "scale" filter, which this is practically identical > with. > --- > libavfilter/avfilter.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c > index 831871de90b..dcad4d55292 100644 > --- a/libavfilter/avfilter.c > +++ b/libavfilter/avfilter.c > @@ -1027,7 +1027,8 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame) > strcmp(link->dst->filter->name, "format") && > strcmp(link->dst->filter->name, "idet") && > strcmp(link->dst->filter->name, "null") && > - strcmp(link->dst->filter->name, "scale")) { > + strcmp(link->dst->filter->name, "scale") && > + strcmp(link->dst->filter->name, "scale2ref")) { > av_assert1(frame->format == link->format); > av_assert1(frame->width == link->w); > av_assert1(frame->height == link->h); LGTM. 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".