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 770E44963A for ; Sat, 16 Mar 2024 23:26:38 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 20D5068D08E; Sun, 17 Mar 2024 01:26:35 +0200 (EET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 98B7368CC49 for ; Sun, 17 Mar 2024 01:26:29 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id E11C120004 for ; Sat, 16 Mar 2024 23:26:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1710631589; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jdpE+wRuNMgQPO/9hCt/EFwdByh6WJf3YX+cZBkfPsI=; b=R5/shS/0iz/tKuOYQb8xM1uM4xaEdTJeHWy1/ivO6pfOGr+EVZWNqMb/BvoeQDWWiKd9qO Qvhm8wSrrnu88bjUt7UUbL6+5GEfF15qykN5IRWMzozOYJ2lgHgpZosvevxIQpLbiVM59T FdikoywQi1OaKaFThQ3Ts6JXBA6YV/KxbtYqNtXY7F+Z9WQxjWQ/gm6XvrTc1hnhTiXX/T 1S/cPGe/jmwG/q0wcZPxu8fGFlOi5npfKvrdrTs/Nv3s8wXDf3GVncDOZK8Wl36g4fcqA4 3fnkI+OyrhVR9iMVvcjsbTTVYXVoXQt9W5biplO536jmv0aa9Gm5B8Zia/eb2w== Date: Sun, 17 Mar 2024 00:26:28 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240316232628.GH6420@pb2> References: <20240313122425.92457-1-ffmpeg@haasn.xyz> MIME-Version: 1.0 In-Reply-To: <20240313122425.92457-1-ffmpeg@haasn.xyz> X-GND-Sasl: michael@niedermayer.cc 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-Type: multipart/mixed; boundary="===============3529156545422703209==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3529156545422703209== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nhd9nesWl+wGX31H" Content-Disposition: inline --nhd9nesWl+wGX31H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2024 at 01:24:24PM +0100, Niklas Haas wrote: > From: Niklas Haas >=20 > Analogous to the "scale" filter, which this is practically identical > with. > --- > libavfilter/avfilter.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > 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 *fr= ame) > 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 =3D=3D link->format); > av_assert1(frame->width =3D=3D link->w); > av_assert1(frame->height =3D=3D link->h); LGTM [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin --nhd9nesWl+wGX31H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZfYqnQAKCRBhHseHBAsP q7VdAJ9EApMmGL6a8wNsKb4v3WHl80AV9QCfQuajXM+ycaUzlTr1nxQhXYMaOl0= =W69x -----END PGP SIGNATURE----- --nhd9nesWl+wGX31H-- --===============3529156545422703209== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============3529156545422703209==--