]> git.sesse.net Git - vlc/commitdiff
Win32: High-Priority will not work in MetroMode
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 19 Mar 2013 16:47:44 +0000 (17:47 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 19 Mar 2013 16:48:12 +0000 (17:48 +0100)
src/win32/specific.c

index 928e7be40fca6c397d6c702b91cc88a3506159be..ee1c56f82d41d142155464946a79bcb30c1b03df 100644 (file)
@@ -80,6 +80,7 @@ typedef struct
 
 void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_argv[] )
 {
+#if !defined(WINAPI_FAMILY_APP)
     /* Raise default priority of the current process */
 #ifndef ABOVE_NORMAL_PRIORITY_CLASS
 #   define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
@@ -97,7 +98,6 @@ void system_Configure( libvlc_int_t *p_this, int i_argc, const char *const ppsz_
         }
     }
 
-#if !defined(WINAPI_FAMILY_APP)
     if( var_InheritBool( p_this, "one-instance" )
      || ( var_InheritBool( p_this, "one-instance-when-started-from-file" )
        && var_InheritBool( p_this, "started-from-file" ) ) )