]> git.sesse.net Git - vlc/blobdiff - modules/misc/dummy/interface.c
FSF address change.
[vlc] / modules / misc / dummy / interface.c
index d6c8848c7316bdb83752d06e5ef66043cb877b19..b84f043232570c0eccdb253179917941ca184db8 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * intf_dummy.c: dummy interface plugin
  *****************************************************************************
- * Copyright (C) 2000, 2001 VideoLAN
- * $Id: interface.c,v 1.1 2002/08/04 17:23:43 sam Exp $
+ * Copyright (C) 2000, 2001 the VideoLAN team
+ * $Id$
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -41,15 +41,16 @@ static void Run   ( intf_thread_t * );
 int  E_(OpenIntf) ( vlc_object_t *p_this )
 {
     intf_thread_t *p_intf = (intf_thread_t*) p_this;
+
 #ifdef WIN32
-    AllocConsole();
-    freopen( "CONOUT$", "w", stdout );
-    freopen( "CONOUT$", "w", stderr );
-    freopen( "CONIN$", "r", stdin );
-    msg_Info( p_intf, VERSION_MESSAGE );
-    msg_Info( p_intf, _("\nUsing the dummy interface plugin...") );
+    vlc_bool_t b_quiet;
+    b_quiet = config_GetInt( p_intf, "dummy-quiet" );
+    if( !b_quiet )
+        CONSOLE_INTRO_MSG;
 #endif
 
+    msg_Info( p_intf, "Using the dummy interface module..." );
+
     p_intf->pf_run = Run;
 
     return VLC_SUCCESS;