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

Steve Lhomme robux4 at ycbcr.xyz
Fri Aug 14 10:25:36 CEST 2020


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



More information about the vlc-devel mailing list