Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
46cc486f
Commit
46cc486f
authored
Oct 03, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/win32_specific.c: minor code clean-up.
parent
4f3ee7be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/misc/win32_specific.c
src/misc/win32_specific.c
+10
-10
No files found.
src/misc/win32_specific.c
View file @
46cc486f
...
...
@@ -2,7 +2,7 @@
* win32_specific.c: Win32 specific features
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: win32_specific.c,v 1.2
5 2003/09/29 17:36:35 gbazin
Exp $
* $Id: win32_specific.c,v 1.2
6 2003/10/03 13:35:56 sam
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -126,18 +126,18 @@ void system_Configure( vlc_t *p_this, int *pi_argc, char *ppsz_argv[] )
#ifndef ABOVE_NORMAL_PRIORITY_CLASS
# define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
#endif
if
(
config_GetInt
(
p_this
,
"high-priority"
)
&&
!
SetPriorityClass
(
GetCurrentProcess
(),
ABOVE_NORMAL_PRIORITY_CLASS
)
)
if
(
config_GetInt
(
p_this
,
"high-priority"
)
)
{
if
(
!
SetPriorityClass
(
GetCurrentProcess
(),
HIGH_PRIORITY_CLASS
)
)
msg_Dbg
(
p_this
,
"can't raise process priority"
);
else
if
(
SetPriorityClass
(
GetCurrentProcess
(),
ABOVE_NORMAL_PRIORITY_CLASS
)
||
SetPriorityClass
(
GetCurrentProcess
(),
HIGH_PRIORITY_CLASS
)
)
{
msg_Dbg
(
p_this
,
"raised process priority"
);
}
else
{
msg_Dbg
(
p_this
,
"could not raise process priority"
);
}
}
else
msg_Dbg
(
p_this
,
"raised process priority"
);
if
(
config_GetInt
(
p_this
,
"one-instance"
)
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment