[vlc-devel] [vlc-commits] demux: adaptive: disable lua stream filter
Steve Lhomme
robux4 at ycbcr.xyz
Thu May 16 08:20:21 CEST 2019
On 2019-05-15 16:38, Francois Cartegnie wrote:
> 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
Why ?
And it should at least log a warning that something the user requested
won't be used.
>> 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;
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits
>
More information about the vlc-devel
mailing list