[vlc-devel] [PATCH 5/7] input: Preparse: fetch sub items too

Rémi Denis-Courmont remi at remlab.net
Tue Jan 13 20:21:51 CET 2015


Le 2015-01-13 15:23, Thomas Guillem a écrit :
>> I may be missing some pre-existing magic. Otherwise will that not
>> duplicate sub-items when the item gets "opened" after it has already
>> been preparsed?
>
> No you're right, I missed it.
>
>>
>> Also how does that work if the item has both sub-items and 
>> elementary
>> streams, or -more realistically- if it is not known at demux 
>> activation
>> whether the item is a normal stream or a playlist, e.g. MP4...
>
> I didn't know that case could happen.
> Do you have a sample with sub items and elementary streams ?

No, but IIRC, at least MP4 can be either normal a file, or a playlist. 
Not sure how well the later is supported in VLC as of yet.

Generally, I am not sure how reliable the input item "type". It was 
mostly meant for showing different icons in the playlist, in which case 
misclassification is not a big deal.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list