[vlc-devel] [PATCH] es_out: fix monotonic clock master selection
Jean-Baptiste Kempf
jb at videolan.org
Tue Mar 17 17:03:01 CET 2020
Can you comment a bit more what this is doing?
On Mon, Mar 16, 2020, at 10:59, Francois Cartegnie wrote:
> ---
> src/input/es_out.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/input/es_out.c b/src/input/es_out.c
> index 118c780c95..895199928b 100644
> --- a/src/input/es_out.c
> +++ b/src/input/es_out.c
> @@ -2154,8 +2154,9 @@ static void EsOutCreateDecoder( es_out_t *out,
> es_out_id_t *p_es )
>
> 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;
> --
> 2.24.1
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
--
Jean-Baptiste Kempf - President
+33 672 704 734
More information about the vlc-devel
mailing list