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

Francois Cartegnie fcvlcdev at free.fr
Wed May 9 19:22:07 CEST 2018


Le 09/05/2018 à 18:30, Zhao Zhili a écrit :
> 
>> On 9 May 2018, at 11:49 PM, Francois Cartegnie <fcvlcdev at free.fr> wrote:
>>
>> Le 09/05/2018 à 15:32, Zhao Zhili a écrit :
>>
>>>>
>>>
>>> If there is no esid is selected in the same category, should the new esid be unselected too?
>>>
>>
>> es format category for differents streams can't change by design.
> 
> Sorry,I didn't make myself clear.
> 
> Assume audio tracks are disabled. During seek, 'new' audio es id may treated as incompatible if the sample rate is not set, although it can be the same track. Then it's added as new es_id, and selected as the active audio track. Audio tracks are not disabled anymore after seek, see #20436.
> 

If the new format is not compatible, ie, does not load a decoder,
then that's more like chicken and egg issue since we cannot tell if the
decoder will load.

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list