Browse Source

input: remove thread priority hacking

It had no effect on POSIX platforms. Thread synchronization and TSAN analysis
is more useful than thread priorities.
Steve Lhomme 4 years ago
committed by Alexandre Janniaux
parent
commit
d85e00d359
  1. 7
      src/input/input.c

7
src/input/input.c

@ -495,13 +495,6 @@ static void *Run( void *data )
if( !Init( p_input ) )
{
if( priv->master->b_can_pace_control && priv->b_out_pace_control )
{
/* We don't want a high input priority here or we'll
* end-up sucking up all the CPU time */
vlc_set_priority( priv->thread, VLC_THREAD_PRIORITY_LOW );
}
MainLoop( p_input, true ); /* FIXME it can be wrong (like with VLM) */
/* Clean up */

Loading…
Cancel
Save