[vlc-devel] [PATCH 2/5] goom: remove frame dropping feature

Thomas Guillem thomas at gllm.fr
Fri Aug 14 11:19:43 CEST 2020


Most importantly, it cannot work with the new VLC 4.0 clock.

On Fri, Aug 14, 2020, at 10:25, Steve Lhomme wrote:
> We use a triple buffer that we wait on. We can't allocate too many pictures at
> once. The display module will take care of the frame dropping if needed.
> ---
>  modules/visualization/goom.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/modules/visualization/goom.c b/modules/visualization/goom.c
> index dfdde6d6222..9881360aa06 100644
> --- a/modules/visualization/goom.c
> +++ b/modules/visualization/goom.c
> @@ -324,9 +324,6 @@ static void *Thread( void *p_thread_data )
>          /* Speed selection */
>          if( p_thread->i_speed && (++i_count % (p_thread->i_speed+1)) ) 
> continue;
>  
> -        /* Frame dropping if necessary */
> -        if( date_Get( &i_pts ) + GOOM_DELAY <= vlc_tick_now() ) continue;
> -
>          plane = goom_update( p_plugin_info, p_data, 0, 0.0,
>                               NULL, NULL );
>  
> -- 
> 2.26.2
> 
> _______________________________________________
> 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