[FFmpeg-devel] [PATCH 20/25] avcodec/roqvideoenc: do not use YUVJ pixel format

Paul B Mahol onemda at gmail.com
Sat Dec 16 12:12:40 EET 2017


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/roqvideoenc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index ac05123dc6..18ceef1b2c 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -1132,7 +1132,8 @@ AVCodec ff_roq_encoder = {
     .init                 = roq_encode_init,
     .encode2              = roq_encode_frame,
     .close                = roq_encode_end,
-    .pix_fmts             = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVJ444P,
+    .pix_fmts             = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P,
                                                         AV_PIX_FMT_NONE },
+    .color_ranges         = (const enum AVColorRange[]){ AVCOL_RANGE_JPEG, AVCOL_RANGE_UNSPECIFIED },
     .priv_class     = &roq_class,
 };
-- 
2.11.0



More information about the ffmpeg-devel mailing list