Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
db36045c
Commit
db36045c
authored
Feb 06, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start dbus always, move inhibit and dbus startup to vlc
parent
63b3ed33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
16 deletions
+4
-16
bin/vlc.c
bin/vlc.c
+4
-0
src/libvlc.c
src/libvlc.c
+0
-16
No files found.
bin/vlc.c
View file @
db36045c
...
@@ -208,6 +208,10 @@ int main( int i_argc, const char *ppsz_argv[] )
...
@@ -208,6 +208,10 @@ int main( int i_argc, const char *ppsz_argv[] )
#if !defined (HAVE_MAEMO) && !defined __APPLE__ && !defined (__OS2__)
#if !defined (HAVE_MAEMO) && !defined __APPLE__ && !defined (__OS2__)
libvlc_add_intf
(
vlc
,
"globalhotkeys,none"
);
libvlc_add_intf
(
vlc
,
"globalhotkeys,none"
);
#endif
#ifdef HAVE_DBUS
libvlc_add_intf
(
vlc
,
"dbus,none"
);
libvlc_add_intf
(
vlc
,
"inhibit,none"
);
#endif
#endif
if
(
libvlc_add_intf
(
vlc
,
NULL
))
if
(
libvlc_add_intf
(
vlc
,
NULL
))
goto
out
;
goto
out
;
...
...
src/libvlc.c
View file @
db36045c
...
@@ -646,22 +646,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
...
@@ -646,22 +646,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
*/
*/
intf_Create
(
p_libvlc
,
"hotkeys,none"
);
intf_Create
(
p_libvlc
,
"hotkeys,none"
);
#ifdef HAVE_DBUS
/* loads dbus control interface if in one-instance mode
* we do it only when playlist exists, because dbus module needs it */
if
(
var_InheritBool
(
p_libvlc
,
"one-instance"
)
||
(
var_InheritBool
(
p_libvlc
,
"one-instance-when-started-from-file"
)
&&
var_InheritBool
(
p_libvlc
,
"started-from-file"
)
)
)
intf_Create
(
p_libvlc
,
"dbus,none"
);
# if !defined (HAVE_MAEMO)
/* Prevents the power management daemon from suspending the system
* when VLC is active */
if
(
var_InheritBool
(
p_libvlc
,
"inhibit"
)
>
0
)
intf_Create
(
p_libvlc
,
"inhibit,none"
);
# endif
#endif
if
(
var_InheritBool
(
p_libvlc
,
"file-logging"
)
if
(
var_InheritBool
(
p_libvlc
,
"file-logging"
)
#ifdef HAVE_SYSLOG_H
#ifdef HAVE_SYSLOG_H
&&
!
var_InheritBool
(
p_libvlc
,
"syslog"
)
&&
!
var_InheritBool
(
p_libvlc
,
"syslog"
)
...
...
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