[vlc-commits] access: dvb: scan: fix inheriting var from config

Francois Cartegnie git at videolan.org
Mon Apr 18 22:57:36 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Apr 18 13:10:57 2016 +0200| [1cac32a349f3ed840301159d9778c1ebece172ce] | committer: Francois Cartegnie

access: dvb: scan: fix inheriting var from config

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

 modules/access/dvb/access.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index 4287870..55054ea 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -167,7 +167,7 @@ static int Open( vlc_object_t *p_this )
 
         scan_parameter_Init( &parameter );
 
-        parameter.b_use_nit = var_GetBool( p_access, "dvb-scan-nit" );
+        parameter.b_use_nit = var_InheritBool( p_access, "dvb-scan-nit" );
 
         msg_Dbg( p_access, "setting filter on PAT/NIT/SDT (DVB only)" );
         FilterSet( p_access, 0x00, OTHER_TYPE );    // PAT



More information about the vlc-commits mailing list