[vlc-devel] [PATCH 1/5] vout_subpictures: rename spu selection date pointer

Thomas Guillem thomas at gllm.fr
Mon Jan 6 16:32:35 CET 2020


LGTM for the set

On Fri, Jan 3, 2020, at 15:15, Francois Cartegnie wrote:
> ---
>  src/video_output/vout_subpictures.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/video_output/vout_subpictures.c 
> b/src/video_output/vout_subpictures.c
> index 76fec39d47..e21a36da8c 100644
> --- a/src/video_output/vout_subpictures.c
> +++ b/src/video_output/vout_subpictures.c
> @@ -697,10 +697,10 @@ spu_SelectSubpictures(spu_t *spu, vlc_tick_t 
> system_now,
>  
>              const vlc_tick_t render_date = current->b_subtitle ? 
> render_subtitle_date : system_now;
>  
> -            vlc_tick_t *ephemer_date_ptr  = current->b_subtitle ? 
> &ephemer_subtitle_date  : &ephemer_osd_date;
> +            vlc_tick_t *date_ptr  = current->b_subtitle ? 
> &ephemer_subtitle_date  : &ephemer_osd_date;
>              int64_t *ephemer_order_ptr = current->b_subtitle ? 
> &ephemer_subtitle_order : &ephemer_system_order;
> -            if (current->i_start >= *ephemer_date_ptr) {
> -                *ephemer_date_ptr = render_entry->start;
> +            if (current->i_start >= *date_ptr) {
> +                *date_ptr = render_entry->start;
>                  if (current->i_order > *ephemer_order_ptr)
>                      *ephemer_order_ptr = current->i_order;
>              }
> -- 
> 2.21.0
> 
> _______________________________________________
> 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