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:
parent
79905624ab
commit
a5c6b4cefe
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user