Skip to content

Commit

Permalink
test: thumbnail: remove timeout handling
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tguillem authored and robUx4 committed Nov 29, 2022
1 parent e66e2c2 commit de40c1a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/src/input/thumbnail.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit de40c1a

Please sign in to comment.