# HG changeset patch # User iive # Date 1114291438 0 # Node ID 849a6f39964fbcf3458479e729d7b7bfa08f467c # Parent 4fdfe0860cc58a98aecfa4029bc6a45afbc2b0b9 use the documented default video device /dev/video0 instead of /dev/video that is missing on most systems diff -r 4fdfe0860cc5 -r 849a6f39964f libmpdemux/tvi_v4l2.c --- 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;