[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.119,1.120

Roberto Togni CVS syncmail at mplayerhq.hu
Fri Feb 13 00:09:24 CET 2004


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv9837

Modified Files:
	vd_ffmpeg.c 
Log Message:
Fix ffmpeg RGB24 mapping (needed for qtrle)


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -r1.119 -r1.120
--- vd_ffmpeg.c	25 Jan 2004 17:37:21 -0000	1.119
+++ vd_ffmpeg.c	12 Feb 2004 23:09:22 -0000	1.120
@@ -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




More information about the MPlayer-cvslog mailing list