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 ESMTPS id 6AF494BAFF for ; Sat, 1 Feb 2025 00:52:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1A94468C155; Sat, 1 Feb 2025 02:52:30 +0200 (EET) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2F82D68BEF2 for ; Sat, 1 Feb 2025 02:52:23 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7590A4326B for ; Sat, 1 Feb 2025 00:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1738371142; 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=NfiiUUxdgwFpf4HS9d14xV1yjyKzbs6VMTToIK/H4HI=; b=A5Wg8paBJn8EMvDJ6/RVrZJGGzrKfrYKXNnkRImQ/KindbKTt4caUK82sJOsgM7zUZtIV8 KqekbD3jVJ3xY182tuLX8o9Gi1tMCX2NtmLtauMU6OYCSOJyRiS5EKcYacOsnL7jyHrrZs lWUAhVVX4HxkoCiIM1bLLJiuqm2AmCDggLxDSCozyE5bK4ufzL+vI+LKnWl2JSNXMktdR0 Ep87DHTSU/5bY4Th5Ie9YZZ1KSeSE0ZklQ0wKmE5on7HrLq4KV1JJ3arvShM8Zjgomf/S5 v6RMvLS8qFUXpAcN4xRWFFRC836LoJx5gDD39ryCIFP5TlSK2TGgVG/kUG1gPA== Date: Sat, 1 Feb 2025 01:52:21 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250201005221.GI4991@pb2> References: MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddutddvjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdlfedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] fix pad artifacting 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="===============6142948985768347583==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6142948985768347583== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fa7SUkermzmCPmn6" Content-Disposition: inline --fa7SUkermzmCPmn6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Sat, Feb 01, 2025 at 12:18:08AM +0000, Ben Lu via ffmpeg-devel wrote: > When using pad with eval=3Dframe with variable frame sizes, we get > significant artifacting. This is due to incorrect frame sizes, resulting = in > invalid frames. Made changes to use the output width and height for frame > sizes when using eval=3Dframe, with if statement guards to make sure the > normal usage is unaffected >=20 > Signed-off-by: Ben Lu > --- > libavfilter/vf_pad.c | 29 +++++++++++++++++++++-------- > 1 file changed, 21 insertions(+), 8 deletions(-) >=20 > diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c > index 49fb272b24..846dd0a9f4 100644 > --- a/libavfilter/vf_pad.c > +++ b/libavfilter/vf_pad.c > @@ -237,15 +237,24 @@ static AVFrame *get_video_buffer(AVFilterLink > *inlink, int w, int h) error: corrupt patch at line 10 check your editor line/word wrap break settings or attach the patch or use = git send-email thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB "I am not trying to be anyone's saviour, I'm trying to think about the future and not be sad" - Elon Musk --fa7SUkermzmCPmn6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ51wRAAKCRBhHseHBAsP q0fRAJ4nDG4xOlJ0lALXvLc5A4D5+CXHVwCgm6+e2i5O6eflswxA3/wxok6buK0= =b8g7 -----END PGP SIGNATURE----- --fa7SUkermzmCPmn6-- --===============6142948985768347583== 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". --===============6142948985768347583==--