[vlc-commits] demux: adaptive: disable lua stream filter

Francois Cartegnie git at videolan.org
Wed May 15 16:38:51 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon May 13 15:42:57 2019 +0200| [35e0e582de6d7ed5ca3b8dfb2d928f586331547e] | committer: Francois Cartegnie

demux: adaptive: disable lua stream filter

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

 modules/demux/adaptive/adaptive.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/demux/adaptive/adaptive.cpp b/modules/demux/adaptive/adaptive.cpp
index d9e8accb5b..d12a6f278a 100644
--- a/modules/demux/adaptive/adaptive.cpp
+++ b/modules/demux/adaptive/adaptive.cpp
@@ -228,6 +228,10 @@ static int Open(vlc_object_t *p_obj)
         return VLC_EGENERIC;
     }
 
+    /* disable annoying stuff */
+    if(VLC_SUCCESS == var_Create( p_demux, "lua", VLC_VAR_BOOL))
+        var_SetBool(p_demux, "lua", false);
+
     p_demux->p_sys         = p_manager;
     p_demux->pf_demux      = p_manager->demux_callback;
     p_demux->pf_control    = p_manager->control_callback;



More information about the vlc-commits mailing list