Commit 09a29d9e authored by Pierre Ynard's avatar Pierre Ynard

win32: vlc_thread_set_priority() is broken

parent c0b04d59
...@@ -150,11 +150,8 @@ int vlc_thread_set_priority( vlc_object_t *p_this, const char * psz_file, ...@@ -150,11 +150,8 @@ int vlc_thread_set_priority( vlc_object_t *p_this, const char * psz_file,
#elif defined( WIN32 ) || defined( UNDER_CE ) #elif defined( WIN32 ) || defined( UNDER_CE )
VLC_UNUSED( psz_file); VLC_UNUSED( i_line ); VLC_UNUSED( psz_file); VLC_UNUSED( i_line );
#ifndef UNDER_CE #warning vlc_thread_set_priority() is BROKEN
if( !SetThreadPriority(p_priv->thread_id, i_priority) ) if( true /*!SetThreadPriority(p_priv->thread_id->id, i_priority)*/ )
#else
if( !SetThreadPriority(p_priv->thread_id->handle, i_priority) )
#endif
{ {
msg_Warn( p_this, "couldn't set a faster priority" ); msg_Warn( p_this, "couldn't set a faster priority" );
return 1; return 1;
......
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