From 34ac8ec2eaf8a7cc256c19a984c1be8f20db3f31 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 27 Sep 2011 19:25:43 +0200 Subject: [PATCH] j2kenc: enable 4:2:0 YUV it works as "well" as the other subsampled yuv formats Signed-off-by: Michael Niedermayer --- libavcodec/j2kenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index ba31f2b783..1c2e89a922 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -1041,6 +1041,7 @@ AVCodec ff_jpeg2000_encoder = { .capabilities= CODEC_CAP_EXPERIMENTAL, .pix_fmts = (enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_RGB24, + PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_YUV410P, PIX_FMT_YUV411P, -1}