[vlc-commits] v4l2: don't preparse

Thomas Guillem git at videolan.org
Sun Jun 5 13:02:15 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat Jun  4 17:47:26 2016 +0200| [b1a9cc98cede4aba33a9e18dc4d192e73de4a12c] | committer: Thomas Guillem

v4l2: don't preparse

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b1a9cc98cede4aba33a9e18dc4d192e73de4a12c
---

 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));



More information about the vlc-commits mailing list