Commit 398b5327 authored by Michael Niedermayer's avatar Michael Niedermayer

j2kenc: only list pixel formats that fully work currently.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2214a67d
...@@ -1044,9 +1044,9 @@ AVCodec ff_jpeg2000_encoder = { ...@@ -1044,9 +1044,9 @@ AVCodec ff_jpeg2000_encoder = {
j2kenc_destroy, j2kenc_destroy,
.capabilities= CODEC_CAP_EXPERIMENTAL, .capabilities= CODEC_CAP_EXPERIMENTAL,
.pix_fmts = .pix_fmts =
(enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_RGB24, (enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_YUV444P, PIX_FMT_GRAY8,
PIX_FMT_YUV420P, /* PIX_FMT_YUV420P,
PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV444P,
PIX_FMT_YUV410P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_YUV411P,*/
-1} -1}
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment