[vlc-devel] [PATCH] libvlc: add libvlc_media_parse_with_options
Felix Paul Kühne
fkuehne at videolan.org
Thu Jan 15 19:11:16 CET 2015
> On 14 Jan 2015, at 21:32, Rémi Denis-Courmont <remi at remlab.net> wrote:
>
> Le 2015-01-14 17:25, Thomas Guillem a écrit :
>> Extended version of libvlc_media_parse_async and libvlc_media_parse.
>> It uses a
>> boolean to specify if parsing should be run asynchronously, and a flag to
>> specify parse options.
>
> Taste-wise, I'd much rather have separate functions for sync and async modes. Maybe we don't even need the sync version anyway - other than the existing function for backward compatibility.
Tbh, I’d appreciate a sync mode, as in some corner cases, a certain client app needs to wait until libvlc finished parsing before starting playback. Using sync parsing is a simple and efficient way to accomplish this.
Thanks,
Felix
More information about the vlc-devel
mailing list