]> git.sesse.net Git - vlc/commitdiff
skip-ads option is a bool
authorChristophe Mutricy <xtophe@videolan.org>
Fri, 19 Feb 2010 23:34:11 +0000 (23:34 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Fri, 19 Feb 2010 23:34:11 +0000 (23:34 +0000)
modules/demux/playlist/asx.c

index 8d225b7393a7474fbff2f778bd443fc1ef3f6891..a8dfe42d550a656fd1034604058daf26ceb5fcd5 100644 (file)
@@ -211,7 +211,7 @@ int Import_ASX( vlc_object_t *p_this )
     p_demux->p_sys->i_data_len = -1;
     p_demux->p_sys->b_utf8 = false;
     p_demux->p_sys->b_skip_ads =
-        var_InheritInteger( p_demux, "playlist-skip-ads" );
+        var_InheritBool( p_demux, "playlist-skip-ads" );
 
     return VLC_SUCCESS;
 }