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

Rémi Denis-Courmont remi at remlab.net
Tue Nov 28 13:21:22 CET 2017


Le 28 novembre 2017 12:10:34 GMT+02:00, Francois Cartegnie <fcvlcdev at free.fr> a écrit :
>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
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

That would be taking it in a new direction, where it injects errors. So far, it only hides capabilities.
-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.


More information about the vlc-devel mailing list