[FFmpeg-cvslog] j2kenc: only list pixel formats that fully work currently.

Michael Niedermayer git at videolan.org
Tue Sep 27 21:34:39 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 27 21:04:35 2011 +0200| [398b5327a397090e2ec98d8030ed81574e8d607a] | committer: Michael Niedermayer

j2kenc: only list pixel formats that fully work currently.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/j2kenc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index 4832b29..5a08cb7 100644
--- a/libavcodec/j2kenc.c
+++ b/libavcodec/j2kenc.c
@@ -1044,9 +1044,9 @@ AVCodec ff_jpeg2000_encoder = {
     j2kenc_destroy,
     .capabilities= CODEC_CAP_EXPERIMENTAL,
     .pix_fmts =
-        (enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_RGB24,
-                              PIX_FMT_YUV420P,
+        (enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_YUV444P, PIX_FMT_GRAY8,
+/*                              PIX_FMT_YUV420P,
                               PIX_FMT_YUV422P, PIX_FMT_YUV444P,
-                              PIX_FMT_YUV410P, PIX_FMT_YUV411P,
+                              PIX_FMT_YUV410P, PIX_FMT_YUV411P,*/
                               -1}
 };



More information about the ffmpeg-cvslog mailing list