j2kenc: only list pixel formats that fully work currently.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-09-27 21:04:35 +02:00
parent 2214a67de5
commit 398b5327a3

View File

@ -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}
};