From de40c1a879e0f0343e8c70c030b4fc7a1c199999 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Mon, 28 Nov 2022 11:14:35 +0100 Subject: [PATCH] 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 --- test/src/input/thumbnail.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/src/input/thumbnail.c b/test/src/input/thumbnail.c index 49a0b1c8a0c0..307215c3f9c1 100644 --- a/test/src/input/thumbnail.c +++ b/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 );