From a5c6b4cefef85116463481f623930f6cb55f17c6 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 2 Feb 2003 02:36:35 +0000 Subject: [PATCH] fix default device (manpage says /dev/video0, /dev/video often is a directory) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9217 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/tvi_v4l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/tvi_v4l.c b/libmpdemux/tvi_v4l.c index 7b3a07eeb7..02fd27c4ea 100644 --- a/libmpdemux/tvi_v4l.c +++ b/libmpdemux/tvi_v4l.c @@ -266,7 +266,7 @@ tvi_handle_t *tvi_init_v4l(char *device, char *adevice) /* set video device name */ if (!device) - priv->video_device = strdup("/dev/video"); + priv->video_device = strdup("/dev/video0"); else priv->video_device = strdup(device);