[vlc-devel] [PATCH 6/6] v4l2: don't preparse
Thomas Guillem
thomas at gllm.fr
Sun Jun 5 10:56:15 CEST 2016
---
modules/access/v4l2/access.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/access/v4l2/access.c b/modules/access/v4l2/access.c
index 1210774..61ec206 100644
--- a/modules/access/v4l2/access.c
+++ b/modules/access/v4l2/access.c
@@ -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));
--
2.8.1
More information about the vlc-devel
mailing list