1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-13 10:26:00 +00:00

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
This commit is contained in:
colin 2003-02-02 02:36:35 +00:00
parent 79905624ab
commit a5c6b4cefe

View File

@ -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);