aboutsummaryrefslogtreecommitdiffstats
path: root/libng/grab-v4l.c
diff options
context:
space:
mode:
Diffstat (limited to 'libng/grab-v4l.c')
-rw-r--r--libng/grab-v4l.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libng/grab-v4l.c b/libng/grab-v4l.c
index de71c8f..14fd11b 100644
--- a/libng/grab-v4l.c
+++ b/libng/grab-v4l.c
@@ -428,6 +428,7 @@ v4l_open(char *device)
inputs[i].nr = -1;
inputs[i].str = NULL;
v4l_add_attr(h,ATTR_ID_INPUT,ATTR_TYPE_CHOICE,0,inputs);
+ h->input = -1;
/* audios */
if (ng_debug)

Privacy Policy