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

Rémi Denis-Courmont remi at remlab.net
Mon Mar 2 13:53:52 CET 2015

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.

Rémi Denis-Courmont

More information about the vlc-devel mailing list