changeset 15246:849a6f39964f

use the documented default video device /dev/video0 instead of /dev/video that is missing on most systems
author iive
date Sat, 23 Apr 2005 21:23:58 +0000
parents 4fdfe0860cc5
children adaba898053d
files libmpdemux/tvi_v4l2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tvi_v4l2.c	Sat Apr 23 20:41:19 2005 +0000
+++ b/libmpdemux/tvi_v4l2.c	Sat Apr 23 21:23:58 2005 +0000
@@ -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;