[Mplayer-cvslog] CVS: main/libmpcodecs vf_format.c,1.6,1.7
D Richard Felker III
dalias at aerifal.cx
Mon Jul 29 18:17:40 CEST 2002
On Mon, Jul 29, 2002 at 06:24:50PM +0200, Richard Felker CVS wrote:
> Update of /cvsroot/mplayer/main/libmpcodecs
> In directory mail:/var/tmp.root/cvs-serv14590/libmpcodecs
>
> Modified Files:
> vf_format.c
> Log Message:
> added missing formats :)
Huh, the diff got cut off...?!? Here it is.
Rich
-------------- next part --------------
Index: libmpcodecs/vf_format.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_format.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- libmpcodecs/vf_format.c 11 Jul 2002 19:16:30 -0000 1.6
+++ libmpcodecs/vf_format.c 29 Jul 2002 16:24:40 -0000 1.7
@@ -40,11 +40,15 @@
if(!strcasecmp(args,"bgr16")) vf->priv->fmt=IMGFMT_BGR16; else
if(!strcasecmp(args,"bgr15")) vf->priv->fmt=IMGFMT_BGR15; else
if(!strcasecmp(args,"bgr8")) vf->priv->fmt=IMGFMT_BGR8; else
+ if(!strcasecmp(args,"bgr4")) vf->priv->fmt=IMGFMT_BGR4; else
+ if(!strcasecmp(args,"bgr1")) vf->priv->fmt=IMGFMT_BGR1; else
if(!strcasecmp(args,"rgb24")) vf->priv->fmt=IMGFMT_RGB24; else
if(!strcasecmp(args,"rgb32")) vf->priv->fmt=IMGFMT_RGB32; else
if(!strcasecmp(args,"rgb16")) vf->priv->fmt=IMGFMT_RGB16; else
if(!strcasecmp(args,"rgb15")) vf->priv->fmt=IMGFMT_RGB15; else
if(!strcasecmp(args,"rgb8")) vf->priv->fmt=IMGFMT_RGB8; else
+ if(!strcasecmp(args,"rgb4")) vf->priv->fmt=IMGFMT_RGB4; else
+ if(!strcasecmp(args,"rgb1")) vf->priv->fmt=IMGFMT_RGB1; else
{ printf("Unknown format name: '%s'\n",args);return 0;}
} else
vf->priv->fmt=IMGFMT_YUY2;
More information about the MPlayer-cvslog
mailing list