[vlc-devel] [PATCH 3/6] dvb: don't preparse

Thomas Guillem thomas at gllm.fr
Sun Jun 5 10:56:12 CEST 2016


---
 modules/access/dvb/access.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index a7116d2..b5522bb 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -127,6 +127,9 @@ static int Open( vlc_object_t *p_this )
     access_t     *p_access = (access_t*)p_this;
     access_sys_t *p_sys;
 
+    if( p_access->b_preparsing )
+        return VLC_EGENERIC;
+
     p_access->p_sys = p_sys = calloc( 1, sizeof( access_sys_t ) );
     if( !p_sys )
         return VLC_ENOMEM;
-- 
2.8.1



More information about the vlc-devel mailing list