[FFmpeg-cvslog] ffmpeg_filter: Add YUV 444 to strict_std_compliance case for mjpeg

Michael Niedermayer git at videolan.org
Wed Feb 10 13:29:31 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Feb 10 12:28:12 2016 +0100| [a82ff49bb829938f8d749f6b3305162ca91e3bc9] | committer: Michael Niedermayer

ffmpeg_filter: Add YUV 444 to strict_std_compliance case for mjpeg

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a82ff49bb829938f8d749f6b3305162ca91e3bc9
---

 ffmpeg_filter.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ffmpeg_filter.c b/ffmpeg_filter.c
index bf484bb..b049c48 100644
--- a/ffmpeg_filter.c
+++ b/ffmpeg_filter.c
@@ -46,7 +46,9 @@ enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *enc_ctx, AVCod
         int has_alpha = desc ? desc->nb_components % 2 == 0 : 0;
         enum AVPixelFormat best= AV_PIX_FMT_NONE;
         static const enum AVPixelFormat mjpeg_formats[] =
-            { AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_NONE };
+            { AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P,
+              AV_PIX_FMT_YUV420P,  AV_PIX_FMT_YUV422P,  AV_PIX_FMT_YUV444P,
+              AV_PIX_FMT_NONE };
         static const enum AVPixelFormat ljpeg_formats[] =
             { AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUV420P,
               AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_BGRA, AV_PIX_FMT_NONE };



More information about the ffmpeg-cvslog mailing list