* intf_dummy.c: dummy interface plugin
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
- * $Id: intf_dummy.c,v 1.16 2002/05/19 10:06:37 gbazin Exp $
+ * $Id: intf_dummy.c,v 1.17 2002/05/19 15:23:35 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
return( 1 );
};
+#ifdef WIN32
+ AllocConsole();
+ freopen( "CONOUT$", "w", stdout );
+ freopen( "CONOUT$", "w", stderr );
+ freopen( "CONIN$", "r", stdin );
+ intf_Msg( VERSION_MESSAGE );
+ intf_Msg( _("\nUsing the dummy interface plugin...") );
+#endif
+
return( 0 );
}
*****************************************************************************/
static void intf_Run( intf_thread_t *p_intf )
{
-#ifdef WIN32
- AllocConsole();
- freopen( "CONOUT$", "w", stdout );
- freopen( "CONOUT$", "w", stderr );
- freopen( "CONIN$", "r", stdin );
- intf_Msg( VERSION_MESSAGE );
- intf_Msg( _("\nUsing the dummy interface plugin...") );
-#endif
-
while( !p_intf->b_die )
{
/* Manage core vlc functions through the callback */
* rc.c : remote control stdin/stdout plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: rc.c,v 1.13 2002/05/18 07:30:03 sam Exp $
+ * $Id: rc.c,v 1.14 2002/05/19 15:23:35 gbazin Exp $
*
* Authors: Peter Surda <shurdeek@panorama.sth.ac.at>
*
return( 1 );
}
+#ifdef WIN32
+ AllocConsole();
+ freopen( "CONOUT$", "w", stdout );
+ freopen( "CONOUT$", "w", stderr );
+ freopen( "CONIN$", "r", stdin );
+ intf_Msg( VERSION_MESSAGE );
+#endif
+
intf_Msg( "rc: remote control interface initialized, `h' for help" );
return( 0 );
}