]> git.sesse.net Git - vlc/blobdiff - evc/vlc.c
Changed logo and marq control variables to attach to ->p_libvlc, to be persistent.
[vlc] / evc / vlc.c
index 4f6ba1585f3dd39af501457ffde4b941c1ff2ed4..f97c583e06f6d539207ab840d5c33950f1f702a7 100644 (file)
--- a/evc/vlc.c
+++ b/evc/vlc.c
@@ -2,7 +2,7 @@
  * vlc.c: the vlc player, WinCE version
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: vlc.c,v 1.6 2004/01/24 21:06:52 hartman Exp $
+ * $Id$
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -64,10 +64,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
     wchar_t  pwz_title[100];
 
     i_argc = 5;
-    ppsz_argv[4] = "washington.mpeg";
-    ppsz_argv[4] = "shovel.mpeg";
-    ppsz_argv[4] = "11h50.wav";
-    ppsz_argv[4] = "apple_promouse.mpeg";
+    ppsz_argv[4] = "test.wav";
 
     /* Store our instance for future reference */
     hInst = hInstance;
@@ -125,7 +122,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
     i_ret = VLC_Play( 0 );
 
     /* Add a non-blocking interface and keep the return value */
-    i_ret = VLC_AddIntf( 0, NULL, VLC_FALSE );
+    i_ret = VLC_AddIntf( 0, NULL, VLC_FALSE, VLC_TRUE );
 
     while( GetMessage( &message, NULL, 0, 0 ) )
     {
@@ -140,7 +137,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
     VLC_Die( 0 );
 
     /* Finish the threads */
-    VLC_Stop( 0 );
+    VLC_CleanUp( 0 );
 
     /* Destroy the libvlc structure */
     VLC_Destroy( 0 );