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

Zhao Zhili quinkblack at foxmail.com
Wed May 9 18:30:08 CEST 2018


> 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.

88                 /* Reject audio streams with different or unknown rates */
89                 if(fmt.audio.i_rate != p_other->fmt.audio.i_rate || !fmt.audio.i_rate)
90                     return false;

> 
> -- 
> Francois Cartegnie
> VideoLAN - VLC Developer
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel





More information about the vlc-devel mailing list