[vlc-devel] [PATCH] stream: add stream_ForcedPeekNew

Rémi Denis-Courmont remi at remlab.net
Thu Sep 10 17:56:54 CEST 2015


Le 2015-09-10 18:53, Francois Cartegnie a écrit :
>> If a demuxer needs to read up to 200KiB to detect the format, it 
>> most
>> certainly should be restricted to truly seekable streams anyway
>> (possibly even only fast seekable).
>
> Subtitles are 256 lines probing with 2K max line probing in
> stream_Readline which is 512K.
>
> Peeking 512K to fail late is a no go.

Indeed. Which is why this patch is a no go.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list