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 EB2524A23A for ; Mon, 25 Mar 2024 15:11:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 59D1A68D49B; Mon, 25 Mar 2024 17:11:02 +0200 (EET) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AD5AB68D42F for ; Mon, 25 Mar 2024 17:10:55 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1711379455; bh=J42C4i+Lhrgrl5MiJak9UwaqINY0vGLhBviPoqafkI4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kQrjECJkOblQYdLmTTVW+dyGqLEgWEjhtog2cyp23PUghd9mCS8fs4VtOSBGd+Xlx MVWLDWDB+toUP7mF59Wqn0i/KFhIN3eaG3can+Qy/jEZg1u2lN9x6PN8qM3Z5el52+ W8BarJJ6XRrJFOLDNPF7q0mXPl0GYpnY/qxihUuk= Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id 7835141128; Mon, 25 Mar 2024 16:10:55 +0100 (CET) Date: Mon, 25 Mar 2024 16:10:55 +0100 Message-ID: <20240325161055.GB82291@haasn.xyz> From: Niklas Haas To: ffmpeg-devel@ffmpeg.org In-Reply-To: <20240325134044.17030-1-ffmpeg@haasn.xyz> References: <20240325134044.17030-1-ffmpeg@haasn.xyz> MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [FFmpeg-devel] [PATCH] avfilter: fix YUV colorspace negotiation for YUVJ 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 Cc: Niklas Haas 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 Mon, 25 Mar 2024 14:40:44 +0100 Niklas Haas wrote: > From: Niklas Haas > > Ironically, despite being introduced to make YUVJ unnecessary, the new > YUV negotiation logic failed to actually negotiate YUVJ formats > themselves correctly, leading to errors when passing YUVJ frames into > a filter graph. (They were effectively treated like RGB or Grayscale > formats, rather than as forced-full-range YUV, and hence did not have > their colorspace matrix correctly negotiated) > > Fix this by splitting off the YUVJ check from ff_fmt_is_regular_yuv(). > Obviously, we can trivially undo this change again once YUVJ is actually > deleted from the codebase. Breaks FATE, I will investigate. _______________________________________________ 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".