[vlc-devel] [PATCH 1/2] accesstweaks: add option to conceal stream size

Francois Cartegnie fcvlcdev at free.fr
Tue Nov 28 11:10:34 CET 2017


Le 27/11/2017 à 18:17, Rémi Denis-Courmont a écrit :
> ---
>  modules/stream_filter/accesstweaks.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/modules/stream_filter/accesstweaks.c b/modules/stream_filter/accesstweaks.c
> index 8341cee864..d6c2623817 100644
> --- a/modules/stream_filter/accesstweaks.c
> +++ b/modules/stream_filter/accesstweaks.c
> @@ -46,6 +46,8 @@ vlc_module_begin ()
>          change_volatile ()
>      add_bool ("fastseek", true, "forces result of the CAN_FASTSEEK control", NULL, false)
>          change_volatile ()
> +    add_bool("stream-size", true, "expose stream size if known", NULL, false)
> +        change_volatile()
>      add_shortcut("tweaks")
>  vlc_module_end ()
>  
I would make it non boolean by adding other values: double and half sizes.

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list