[MPlayer-cvslog] CVS: main/libmpdemux tvi_v4l2.c,1.19,1.20

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Sat Apr 23 23:24:00 CEST 2005


CVS change done by Ivan Kalvachev CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv27628

Modified Files:
	tvi_v4l2.c 
Log Message:
use the documented default video device /dev/video0 instead of /dev/video that is missing on most systems


Index: tvi_v4l2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l2.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- tvi_v4l2.c	27 Dec 2004 17:30:15 -0000	1.19
+++ tvi_v4l2.c	23 Apr 2005 21:23:58 -0000	1.20
@@ -776,7 +776,7 @@
     }
     PRIV->video_fd = -1;
 
-    PRIV->video_dev = strdup(video_dev? video_dev: "/dev/video");
+    PRIV->video_dev = strdup(video_dev? video_dev: "/dev/video0");
     if (!PRIV->video_dev) {
 	free_handle(tvi_handle);
 	return NULL;




More information about the MPlayer-cvslog mailing list