[vlc-devel] [PATCH] MKV: don't update the playback PTS from unused tracks

Steve Lhomme robux4 at videolabs.io
Mon Mar 2 13:07:01 CET 2015


On Mon, Mar 2, 2015 at 12:47 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-03-02 14:23, Steve Lhomme a écrit :
>>
>> On 02/03/2015 12:11, Rémi Denis-Courmont wrote:
>>>
>>> Le 2015-03-02 14:02, Steve Lhomme a écrit :
>>>>
>>>> Fixes #11847
>>>>
>>>> This file has bad interleaving and shows the progress of broken
>>>> tracks that are not in use.
>>>> With this patch we only show the progress for the track(s) in use
>>>
>>>
>>> In my understanding, the demuxer should only use the ES state as an
>>> optimization. This is especially useful for filtering with RTSP, DVB or
>>> MMS.
>>>
>>> Having the timeline depend on the selected track seems like a terrible
>>> idea for somewhat obvious reasons.
>>
>>
>> Yes, but
>
>
> Just yes. No buts. Tracks selection can change asynchronously, and all or
> any tracks can be selected anyway (--sout-all ?).

Any track selection is fine. What do you call asynchronous ? Obvisouly
there's going to be time between the user selects a track and it's
actually applied for the playback. Is the ES_OUT_GET_ES_STATE result a
cached value that will change during this asynchronous handling ?



More information about the vlc-devel mailing list