changeset 7317:64d665ae50f6

tuner setting isn't mandatory. requested by Jonas Munsin <jmunsin@iki.fi> for webcams
author alex
date Sun, 08 Sep 2002 14:55:03 +0000
parents e09428ee353f
children 85897ab199a4
files libmpdemux/tvi_v4l.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l.c	Sun Sep 08 00:01:06 2002 +0000
+++ b/libmpdemux/tvi_v4l.c	Sun Sep 08 14:55:03 2002 +0000
@@ -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: