Commit 119e9c7f authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

src/libvlc-common.c: Only print a piece of Info about cvlc if we are using 'vlc'.

parent e263d064
...@@ -214,7 +214,8 @@ libvlc_int_t * libvlc_InternalCreate( void ) ...@@ -214,7 +214,8 @@ libvlc_int_t * libvlc_InternalCreate( void )
/* Announce who we are - Do it only for first instance ? */ /* Announce who we are - Do it only for first instance ? */
msg_Dbg( p_libvlc, COPYRIGHT_MESSAGE ); msg_Dbg( p_libvlc, COPYRIGHT_MESSAGE );
msg_Dbg( p_libvlc, "libvlc was configured with %s", CONFIGURE_LINE ); msg_Dbg( p_libvlc, "libvlc was configured with %s", CONFIGURE_LINE );
msg_Info( p_libvlc, "Running vlc with the default interface. Use 'cvlc' to use vlc without interface."); 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 */ /* Initialize mutexes */
vlc_mutex_init( p_libvlc, &p_libvlc->config_lock ); vlc_mutex_init( p_libvlc, &p_libvlc->config_lock );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment