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
57fc7b4e
Commit
57fc7b4e
authored
Jan 17, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win: use var_Inherit
parent
a3f105db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/win32/specific.c
src/win32/specific.c
+5
-5
No files found.
src/win32/specific.c
View file @
57fc7b4e
...
...
@@ -140,7 +140,7 @@ void system_Configure( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv
#ifndef ABOVE_NORMAL_PRIORITY_CLASS
# define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000
#endif
if
(
config_GetInt
(
p_this
,
"high-priority"
)
)
if
(
var_InheritBool
(
p_this
,
"high-priority"
)
)
{
if
(
SetPriorityClass
(
GetCurrentProcess
(),
ABOVE_NORMAL_PRIORITY_CLASS
)
||
SetPriorityClass
(
GetCurrentProcess
(),
HIGH_PRIORITY_CLASS
)
)
...
...
@@ -153,9 +153,9 @@ void system_Configure( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv
}
}
if
(
config_GetInt
(
p_this
,
"one-instance"
)
||
(
config_GetInt
(
p_this
,
"one-instance-when-started-from-file"
)
&&
config_GetInt
(
p_this
,
"started-from-file"
)
)
)
if
(
varInheritBool
(
p_this
,
"one-instance"
)
||
(
var_InheritBool
(
p_this
,
"one-instance-when-started-from-file"
)
&&
var_InheritBool
(
p_this
,
"started-from-file"
)
)
)
{
HANDLE
hmutex
;
...
...
@@ -235,7 +235,7 @@ void system_Configure( libvlc_int_t *p_this, int *pi_argc, const char *ppsz_argv
p_data
=
malloc
(
i_data
);
p_data
->
argc
=
*
pi_argc
-
optind
;
p_data
->
enqueue
=
config_GetInt
(
p_this
,
"playlist-enqueue"
);
p_data
->
enqueue
=
var_InheritBool
(
p_this
,
"playlist-enqueue"
);
i_data
=
0
;
for
(
i_opt
=
optind
;
i_opt
<
*
pi_argc
;
i_opt
++
)
{
...
...
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