[vlc-devel] [PATCH] MKV: don't update the playback PTS from unused tracks
Steve Lhomme
robux4 at videolabs.io
Mon Mar 2 15:24:35 CET 2015
On Mon, Mar 2, 2015 at 1:53 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-03-02 15:07, Steve Lhomme a écrit :
>>>
>>> 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.
>
>
> Yes that.
>
>> Is the ES_OUT_GET_ES_STATE result a
>> cached value that will change during this asynchronous handling ?
>
>
> I'm not sure. My only point is that the ES state is only a hint that you can
> skip es_out_Send(). It should not be used for anything else than skipping
> es_out_Send(), lest it confuse the ES output and/or lead to non-reproducible
> demuxing semantics.
Right now it's used in the Matroska demuxer to figure out the user
language in use depending on the selected track. Should it be changed
too ? Is there a proper way to get the user track/language selection ?
More information about the vlc-devel
mailing list