[vlc-commits] Win32: High-Priority will not work in MetroMode

Jean-Baptiste Kempf git at videolan.org
Tue Mar 19 17:48:33 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 19 17:47:44 2013 +0100| [f37f7299b713c0cf86ed806e3239f1d9da1c6fa8] | committer: Jean-Baptiste Kempf

Win32: High-Priority will not work in MetroMode

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f37f7299b713c0cf86ed806e3239f1d9da1c6fa8
---

 src/win32/specific.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/win32/specific.c b/src/win32/specific.c
index 928e7be..ee1c56f 100644
--- a/src/win32/specific.c
+++ b/src/win32/specific.c
@@ -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" ) ) )



More information about the vlc-commits mailing list