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
7c75fc26
Commit
7c75fc26
authored
May 15, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use libvlc_InternalAddIntf instead of VLC_AddIntf
parent
a6a9c37e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/libvlc-common.c
src/libvlc-common.c
+8
-8
No files found.
src/libvlc-common.c
View file @
7c75fc26
...
...
@@ -801,7 +801,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
if
(
psz_temp
)
{
sprintf
(
psz_temp
,
"%s,none"
,
psz_module
);
VLC_AddIntf
(
0
,
psz_temp
,
false
,
false
);
libvlc_InternalAddIntf
(
p_libvlc
,
psz_temp
,
false
,
false
,
0
,
NULL
);
free
(
psz_temp
);
}
}
...
...
@@ -811,18 +811,18 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/*
* Always load the hotkeys interface if it exists
*/
VLC_AddIntf
(
0
,
"hotkeys,none"
,
false
,
false
);
libvlc_InternalAddIntf
(
p_libvlc
,
"hotkeys,none"
,
false
,
false
,
0
,
NULL
);
#ifdef HAVE_DBUS_3
/* loads dbus control interface if in one-instance mode
* we do it only when playlist exists, because dbus module needs it */
if
(
config_GetInt
(
p_libvlc
,
"one-instance"
)
>
0
)
VLC_AddIntf
(
0
,
"dbus,none"
,
false
,
false
);
libvlc_InternalAddIntf
(
p_libvlc
,
"dbus,none"
,
false
,
false
,
0
,
NULL
);
/* Prevents the power management daemon from suspending the system
* when VLC is active */
if
(
config_GetInt
(
p_libvlc
,
"inhibit"
)
>
0
)
VLC_AddIntf
(
0
,
"inhibit,none"
,
false
,
false
);
libvlc_InternalAddIntf
(
p_libvlc
,
"inhibit,none"
,
false
,
false
,
0
,
NULL
);
#endif
/*
...
...
@@ -832,13 +832,13 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
#ifdef HAVE_X11_XLIB_H
if
(
config_GetInt
(
p_libvlc
,
"disable-screensaver"
)
)
{
VLC_AddIntf
(
0
,
"screensaver,none"
,
false
,
false
);
libvlc_InternalAddIntf
(
p_libvlc
,
"screensaver,none"
,
false
,
false
,
0
,
NULL
);
}
#endif
if
(
config_GetInt
(
p_libvlc
,
"file-logging"
)
>
0
)
{
VLC_AddIntf
(
0
,
"logger,none"
,
false
,
false
);
libvlc_InternalAddIntf
(
p_libvlc
,
"logger,none"
,
false
,
false
,
0
,
NULL
);
}
#ifdef HAVE_SYSLOG_H
if
(
config_GetInt
(
p_libvlc
,
"syslog"
)
>
0
)
...
...
@@ -851,12 +851,12 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
if
(
config_GetInt
(
p_libvlc
,
"show-intf"
)
>
0
)
{
VLC_AddIntf
(
0
,
"showintf,none"
,
false
,
false
);
libvlc_InternalAddIntf
(
p_libvlc
,
"showintf,none"
,
false
,
false
,
0
,
NULL
);
}
if
(
config_GetInt
(
p_libvlc
,
"network-synchronisation"
)
>
0
)
{
VLC_AddIntf
(
0
,
"netsync,none"
,
false
,
false
);
libvlc_InternalAddIntf
(
p_libvlc
,
"netsync,none"
,
false
,
false
,
0
,
NULL
);
}
#ifdef WIN32
...
...
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