]> git.sesse.net Git - vlc/commitdiff
* src/libvlc.c: reload the main module in case the user asks for the
authorGildas Bazin <gbazin@videolan.org>
Mon, 7 Apr 2003 13:01:39 +0000 (13:01 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 7 Apr 2003 13:01:39 +0000 (13:01 +0000)
   translation to be disabled. That way, the translation will even be
   disabled in the preferences panel.

src/libvlc.c

index 27093e4761bdd6c31b712ef0638e437370e069c3..8f5e39ea2ee9d698599121cf45beba8d2aa3c6cf 100644 (file)
@@ -2,7 +2,7 @@
  * libvlc.c: main libvlc source
  *****************************************************************************
  * Copyright (C) 1998-2002 VideoLAN
- * $Id: libvlc.c,v 1.73 2003/04/06 14:12:46 massiot Exp $
+ * $Id: libvlc.c,v 1.74 2003/04/07 13:01:39 gbazin Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -332,6 +332,9 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
      && ( defined( HAVE_GETTEXT ) || defined( HAVE_INCLUDED_GETTEXT ) )
         textdomain( "dummy" );
 #endif
+        module_EndBank( p_vlc );
+        module_InitBank( &libvlc );
+        module_LoadMain( &libvlc );
     }
 #endif