Mercurial > mplayer.hg
diff libmpcodecs/mp_image.c @ 36104:4e3c56728d1e
Support playback of JPEG 2000 digital cinema files.
| author | cehoyos |
|---|---|
| date | Wed, 01 May 2013 11:18:58 +0000 |
| parents | 19212dea7a97 |
| children | 72818542220d |
line wrap: on
line diff
--- a/libmpcodecs/mp_image.c Tue Apr 30 13:10:27 2013 +0000 +++ b/libmpcodecs/mp_image.c Wed May 01 11:18:58 2013 +0000 @@ -121,6 +121,10 @@ mpi->flags|=MP_IMGFLAG_SWAPPED; return; } + if (IMGFMT_IS_XYZ(out_fmt)) { + mpi->bpp=3*IMGFMT_XYZ_DEPTH(out_fmt); + return; + } mpi->num_planes=3; if (out_fmt == IMGFMT_GBR24P) { mpi->bpp=24;
