[vlc-commits] [Git][videolan/vlc][master] test: thumbnail: remove timeout handling

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Nov 29 12:31:30 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
de40c1a8 by Thomas Guillem at 2022-11-29T11:27:46+00:00
test: thumbnail: remove timeout handling

The test suite is already taking care of the timeout, and playback +
seek + thumbnail can take more than 2 seconds (in case of very high
load).

Refs #24618

- - - - -


1 changed file:

- test/src/input/thumbnail.c


Changes:

=====================================
test/src/input/thumbnail.c
=====================================
@@ -150,11 +150,7 @@ static void test_thumbnails( libvlc_instance_t* p_vlc )
         }
 
         while ( ctx.b_done == false )
-        {
-            vlc_tick_t timeout = vlc_tick_now() + VLC_TICK_FROM_SEC( 2 );
-            res = vlc_cond_timedwait( &ctx.cond, &ctx.lock, timeout );
-            assert( res != ETIMEDOUT );
-        }
+            vlc_cond_wait( &ctx.cond, &ctx.lock );
         vlc_mutex_unlock( &ctx.lock );
 
         input_item_Release( p_item );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/de40c1a879e0f0343e8c70c030b4fc7a1c199999

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/de40c1a879e0f0343e8c70c030b4fc7a1c199999
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list