Commit f8adde04 authored by Gildas Bazin's avatar Gildas Bazin

* modules/video_output/directx/directx.c,glwin32.c: don't unload the plugin as...

* modules/video_output/directx/directx.c,glwin32.c: don't unload the plugin as we can't unregister our window classes. This fixes crashes with the mozilla plugin.
parent 14ec07cd
......@@ -159,6 +159,9 @@ vlc_module_begin();
set_capability( "video output", 100 );
add_shortcut( "directx" );
set_callbacks( OpenVideo, CloseVideo );
/* FIXME: Hack to avoid unregistering our window class */
linked_with_a_crap_library_which_uses_atexit( );
vlc_module_end();
#if 0 /* FIXME */
......
......@@ -63,6 +63,9 @@ vlc_module_begin();
set_capability( "opengl provider", 100 );
add_shortcut( "glwin32" );
set_callbacks( OpenVideo, CloseVideo );
/* FIXME: Hack to avoid unregistering our window class */
linked_with_a_crap_library_which_uses_atexit( );
vlc_module_end();
#if 0 /* FIXME */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment