v4l2: don't preparse
authorThomas Guillem <thomas@gllm.fr>
Sat, 4 Jun 2016 15:47:26 +0000 (17:47 +0200)
committerThomas Guillem <thomas@gllm.fr>
Sun, 5 Jun 2016 10:58:35 +0000 (12:58 +0200)
modules/access/v4l2/access.c

index 1210774..61ec206 100644 (file)
@@ -59,6 +59,9 @@ int AccessOpen( vlc_object_t *obj )
 {
     access_t *access = (access_t *)obj;
 
+    if( access->b_preparsing )
+        return VLC_EGENERIC;
+
     access_InitFields( access );
 
     access_sys_t *sys = calloc (1, sizeof (*sys));