[Mplayer-cvslog] CVS: main/libmpdemux tvi_v4l.c,1.27,1.28

Alex Beregszaszi alex at mplayerhq.hu
Sun Sep 8 16:55:27 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv4912

Modified Files:
	tvi_v4l.c 
Log Message:
tuner setting isn't mandatory. requested by Jonas Munsin <jmunsin at iki.fi> for webcams

Index: tvi_v4l.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- tvi_v4l.c	30 Aug 2002 11:37:42 -0000	1.27
+++ tvi_v4l.c	8 Sep 2002 14:55:03 -0000	1.28
@@ -405,9 +405,9 @@
     if (ioctl(priv->video_fd, VIDIOCGTUNER, &priv->tuner) == -1)
     {
 	mp_msg(MSGT_TV, MSGL_ERR, "ioctl get tuner failed: %s\n", strerror(errno));
-	goto err;
-    }
-
+	priv->fps = PAL_FPS;
+//	goto err;
+    } else
     switch (priv->tuner.mode) {
     case VIDEO_MODE_PAL:
     case VIDEO_MODE_SECAM:




More information about the MPlayer-cvslog mailing list