[MPlayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.158,1.159

Roberto Togni CVS syncmail at mplayerhq.hu
Thu Feb 9 00:22:31 CET 2006


CVS change done by Roberto Togni CVS

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

Modified Files:
	vd_ffmpeg.c 
Log Message:
Add support for grayscale [m]jpeg


Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -r1.158 -r1.159
--- vd_ffmpeg.c	31 Jan 2006 23:36:12 -0000	1.158
+++ vd_ffmpeg.c	8 Feb 2006 23:22:29 -0000	1.159
@@ -560,6 +560,7 @@
 	case PIX_FMT_BGR24 :  ctx->best_csp=IMGFMT_BGR24;break; //8bps
 	case PIX_FMT_RGB555:  ctx->best_csp=IMGFMT_BGR15;break; //rpza,cram
 	case PIX_FMT_RGB565:  ctx->best_csp=IMGFMT_BGR16;break; //4xm
+	case PIX_FMT_GRAY8:   ctx->best_csp=IMGFMT_Y800;break; // gray jpeg
 	case PIX_FMT_PAL8:    ctx->best_csp=IMGFMT_BGR8;break; //8bps,mrle,cram
 #ifdef HAVE_XVMC
         case PIX_FMT_XVMC_MPEG2_MC:ctx->best_csp=IMGFMT_XVMC_MOCO_MPEG2;break;




More information about the MPlayer-cvslog mailing list