[vlc-devel] [PATCH] es_out: fix monotonic clock master selection

Francois Cartegnie fcvlcdev at free.fr
Wed Mar 18 10:50:24 CET 2020


Le 16/03/2020 à 10:59, Francois Cartegnie a écrit :

>      assert( p_es->p_pgrm );
>  
> -    if( p_es->fmt.i_cat != UNKNOWN_ES
> -     && p_es->fmt.i_cat == p_sys->i_master_source_cat
> +    if( p_es->fmt.i_cat != UNKNOWN_ES &&
> +       (p_sys->i_master_source_cat == UNKNOWN_ES ||
> +        p_es->fmt.i_cat == p_sys->i_master_source_cat )
>       && p_es->p_pgrm->p_master_clock == NULL )
>      {
>          p_es->master = true;
> 

Ignore

-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list