From ae23b26995252da4524acc4fe15c8f580cfa7b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= <Reimar.Doeffinger@gmx.de> Date: Mon, 3 Oct 2011 21:30:58 +0200 Subject: [PATCH] Enable conversions to YUV444P9/YUV444P10, they seem to work fine. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> --- libswscale/utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libswscale/utils.c b/libswscale/utils.c index a851d99a7d1..6fec4b787e6 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -138,10 +138,10 @@ const static FormatEntry format_entries[PIX_FMT_NB] = { [PIX_FMT_YUV420P10LE] = { 1 , 1 }, [PIX_FMT_YUV422P10BE] = { 1 , 1 }, [PIX_FMT_YUV422P10LE] = { 1 , 1 }, - [PIX_FMT_YUV444P9BE] = { 1 , 0 }, - [PIX_FMT_YUV444P9LE] = { 1 , 0 }, - [PIX_FMT_YUV444P10BE] = { 1 , 0 }, - [PIX_FMT_YUV444P10LE] = { 1 , 0 }, + [PIX_FMT_YUV444P9BE] = { 1 , 1 }, + [PIX_FMT_YUV444P9LE] = { 1 , 1 }, + [PIX_FMT_YUV444P10BE] = { 1 , 1 }, + [PIX_FMT_YUV444P10LE] = { 1 , 1 }, }; int sws_isSupportedInput(enum PixelFormat pix_fmt) -- GitLab