[Mplayer-cvslog] CVS: main/libmpdemux tvi_v4l.c,1.15,1.16 tv.c,1.19,1.20
Alex Beregszaszi
alex at mplayer.dev.hu
Mon Dec 24 12:01:18 CET 2001
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv15505
Modified Files:
tvi_v4l.c tv.c
Log Message:
i420 support
Index: tvi_v4l.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- tvi_v4l.c 19 Dec 2001 12:54:06 -0000 1.15
+++ tvi_v4l.c 24 Dec 2001 11:01:16 -0000 1.16
@@ -128,6 +128,7 @@
case IMGFMT_RGB32:
return(VIDEO_PALETTE_RGB32);
case IMGFMT_YV12:
+ case IMGFMT_I420:
return(VIDEO_PALETTE_YUV420P);
case IMGFMT_UYVY:
return(VIDEO_PALETTE_YUV422);
Index: tv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tv.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- tv.c 19 Dec 2001 13:03:22 -0000 1.19
+++ tv.c 24 Dec 2001 11:01:16 -0000 1.20
@@ -109,6 +109,8 @@
if (!strcasecmp(tv_param_outfmt, "yv12"))
picture_format = IMGFMT_YV12;
+ else if (!strcasecmp(tv_param_outfmt, "i420"))
+ picture_format = IMGFMT_I420;
else if (!strcasecmp(tv_param_outfmt, "uyvy"))
picture_format = IMGFMT_UYVY;
else if (!strcasecmp(tv_param_outfmt, "rgb32"))
More information about the MPlayer-cvslog
mailing list