Commit 3c6db86c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

oldrc: only invoke console intro message where applicable

parent b9db3f9a
...@@ -49,7 +49,7 @@ vlc_module_begin () ...@@ -49,7 +49,7 @@ vlc_module_begin ()
set_description( N_("Dummy interface") ) set_description( N_("Dummy interface") )
set_capability( "interface", 0 ) set_capability( "interface", 0 )
set_callbacks( Open, NULL ) set_callbacks( Open, NULL )
#ifdef _WIN32 #if defined(_WIN32) && !VLC_WINSTORE_APP
add_bool( "dummy-quiet", false, QUIET_TEXT, QUIET_LONGTEXT, false ) add_bool( "dummy-quiet", false, QUIET_TEXT, QUIET_LONGTEXT, false )
#endif #endif
vlc_module_end () vlc_module_end ()
...@@ -61,7 +61,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -61,7 +61,7 @@ static int Open( vlc_object_t *p_this )
{ {
intf_thread_t *p_intf = (intf_thread_t*) p_this; intf_thread_t *p_intf = (intf_thread_t*) p_this;
#ifdef _WIN32 #if defined(_WIN32) && !VLC_WINSTORE_APP
bool b_quiet; bool b_quiet;
b_quiet = var_InheritBool( p_intf, "dummy-quiet" ); b_quiet = var_InheritBool( p_intf, "dummy-quiet" );
if( !b_quiet ) if( !b_quiet )
......
...@@ -340,11 +340,11 @@ static int Activate( vlc_object_t *p_this ) ...@@ -340,11 +340,11 @@ static int Activate( vlc_object_t *p_this )
#ifdef _WIN32 #ifdef _WIN32
p_sys->b_quiet = var_InheritBool( p_intf, "rc-quiet" ); p_sys->b_quiet = var_InheritBool( p_intf, "rc-quiet" );
# if !VLC_WINSTORE_APP
if( !p_sys->b_quiet ) if( !p_sys->b_quiet )
#endif
{
CONSOLE_INTRO_MSG; CONSOLE_INTRO_MSG;
} # endif
#endif
if( vlc_clone( &p_sys->thread, Run, p_intf, VLC_THREAD_PRIORITY_LOW ) ) if( vlc_clone( &p_sys->thread, Run, p_intf, VLC_THREAD_PRIORITY_LOW ) )
abort(); abort();
......
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