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
814ca514
Commit
814ca514
authored
Jan 22, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print a message about cvlc only when running with the default interface
parent
b92ff12b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/libvlc-common.c
src/libvlc-common.c
+8
-2
No files found.
src/libvlc-common.c
View file @
814ca514
...
...
@@ -214,8 +214,6 @@ libvlc_int_t * libvlc_InternalCreate( void )
/* Announce who we are - Do it only for first instance ? */
msg_Dbg
(
p_libvlc
,
COPYRIGHT_MESSAGE
);
msg_Dbg
(
p_libvlc
,
"libvlc was configured with %s"
,
CONFIGURE_LINE
);
if
(
strcmp
(
p_libvlc
->
psz_object_name
,
"cvlc"
)
)
/* Not running with cvlc */
msg_Info
(
p_libvlc
,
"Running vlc with the default interface. Use 'cvlc' to use vlc without interface."
);
/* Initialize mutexes */
vlc_mutex_init
(
p_libvlc
,
&
p_libvlc
->
config_lock
);
...
...
@@ -1060,6 +1058,14 @@ int libvlc_InternalAddIntf( libvlc_int_t *p_libvlc,
if
(
!
p_libvlc
)
return
VLC_EGENERIC
;
if
(
!
psz_module
)
/* requesting the default interface */
{
char
*
psz_interface
=
config_GetPsz
(
p_libvlc
,
"intf"
);
if
(
!
psz_interface
||
!*
psz_interface
)
/* "intf" has not been set */
msg_Info
(
p_libvlc
,
_
(
"Running vlc with the default interface. Use 'cvlc' to use vlc without interface."
)
);
free
(
psz_interface
);
}
#ifndef WIN32
if
(
libvlc_global
.
b_daemon
&&
b_block
&&
!
psz_module
)
{
...
...
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