* libvlc.c: main libvlc source
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
- * $Id: libvlc.c,v 1.60 2003/01/31 13:52:26 sam Exp $
+ * $Id: libvlc.c,v 1.61 2003/02/01 18:53:03 sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
free( psz_modules );
}
+ /*
+ * FIXME: kludge to use a p_vlc-local variable for the Mozilla plugin
+ */
+ var_Create( p_vlc, "drawable", VLC_VAR_INTEGER );
+
/*
* Get input filenames given as commandline arguments
*/
vlc_object_detach( p_vlc );
+ /* Release object before destroying it */
+ if( i_object ) vlc_object_release( p_vlc );
+
vlc_object_destroy( p_vlc );
/* Stop thread system: last one out please shut the door! */
vlc_threads_end( &libvlc );
- if( i_object ) vlc_object_release( p_vlc );
return VLC_SUCCESS;
}