Mercurial > mplayer.hg
changeset 11955:e1e01dea7c35
Fix ffmpeg RGB24 mapping (needed for qtrle)
author | rtognimp |
---|---|
date | Thu, 12 Feb 2004 23:09:22 +0000 |
parents | 7d310274633b |
children | 26c69c4dae82 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Thu Feb 12 08:45:34 2004 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Thu Feb 12 23:09:22 2004 +0000 @@ -450,7 +450,7 @@ case PIX_FMT_YUV444P: ctx->best_csp=IMGFMT_444P;break; //photo jpeg case PIX_FMT_YUV411P: ctx->best_csp=IMGFMT_411P;break; //dv ntsc case PIX_FMT_YUV422: ctx->best_csp=IMGFMT_YUY2;break; //huffyuv perhaps in the future - case PIX_FMT_RGB24 : ctx->best_csp=IMGFMT_BGR24;break; //huffyuv + case PIX_FMT_RGB24 : ctx->best_csp=IMGFMT_RGB24;break; //qtrle case PIX_FMT_RGBA32: ctx->best_csp=IMGFMT_BGR32;break; //huffyuv / mjpeg case PIX_FMT_BGR24 : ctx->best_csp=IMGFMT_BGR24;break; //8bps case PIX_FMT_RGB555: ctx->best_csp=IMGFMT_BGR15;break; //rpza,cram