[vlc-devel] [PATCH] demux: adaptive: fix es recyling

Francois Cartegnie fcvlcdev at free.fr
Wed May 16 22:37:00 CEST 2018

Le 14/05/2018 à 15:19, Zhao Zhili a écrit :
> I have tried to revert 5ff52a41a and test, it's not related to
> the bug.
> The patch I submitted is a by-product which is not related to the
> bug too. I didn't get the point why break the loop instead of
> continue. I have tested with HLS which has multiple audio tracks
> in single TS, and select the second or the third track manually.
> The loop breaks with the first audio track which not looks right.
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

I don't see how you change can fix the issue, since there's always a max
or one category of each es in recycle queue, the break makes sense.

So I believe your issue happens only with ts with 1 video and 1 audio
es, and the audio is deselected, then seeked.

I don't know what your sample is, see POC on "keep new decoders
deselected state". List doesn't seem to want to link thread with your

Francois Cartegnie
VideoLAN - VLC Developer

More information about the vlc-devel mailing list