Commit e496c16b authored by Clément Stenac's avatar Clément Stenac

Fix a bug in preparse throttling

parent b33f6553
......@@ -440,9 +440,10 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
vlc_mutex_lock( &p_obj->object_lock );
i_activity= var_GetInteger( p_playlist, "activity" );
if( i_activity < 0 ) i_activity = 0;
vlc_mutex_unlock( &p_obj->object_lock );
msleep( (i_activity+1) * 1000 );
return;
}
vlc_mutex_unlock( &p_obj->object_lock );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment