* directx.c : Windows DirectX plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: directx.c,v 1.8 2002/05/18 13:30:28 gbazin Exp $
+ * $Id: directx.c,v 1.9 2002/05/22 19:31:33 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
MODULE_ACTIVATE_STOP
MODULE_DEACTIVATE_START
+ /* check if we registered a window class because we need to
+ * unregister it */
+ WNDCLASS wndclass;
+ if( GetClassInfo( GetModuleHandle(NULL), "VLC DirectX", &wndclass ) )
+ UnregisterClass( "VLC DirectX", GetModuleHandle(NULL) );
MODULE_DEACTIVATE_STOP
* modules.c : Built-in and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: modules.c,v 1.61 2002/05/22 17:19:46 sam Exp $
+ * $Id: modules.c,v 1.62 2002/05/22 19:31:33 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
{
if( p_module->i_unused_delay < MODULE_HIDE_DELAY )
{
- /* FIXME: sometimes a module that has been unloaded does not
- * work properly when loaded again. Check what's wrong. */
- //p_module->i_unused_delay++;
+ p_module->i_unused_delay++;
}
else
{