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

Francois Cartegnie git at videolan.org
Mon Mar 30 16:15:29 CEST 2020


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

demux: adaptive: disable lua stream filter

(cherry picked from commit 35e0e582de6d7ed5ca3b8dfb2d928f586331547e)

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

 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 714f91c1e0..f0fd6588ae 100644
--- a/modules/demux/adaptive/adaptive.cpp
+++ b/modules/demux/adaptive/adaptive.cpp
@@ -229,6 +229,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         = reinterpret_cast<demux_sys_t *>(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