]> git.sesse.net Git - vlc/blobdiff - modules/video_output/ggi.c
Fix a race condition : the user progress dialog wasn't created sometime with the...
[vlc] / modules / video_output / ggi.c
index e9f60f7838b9d4a54f0ba567b665af1bd1e81c01..0d697d284ea8abec6f6a9e3a9f1f2f795058922e 100644 (file)
 
 #include <ggi/ggi.h>
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_interface.h>
 #include <vlc_vout.h>
@@ -59,7 +63,6 @@ static void SetPalette     ( vout_thread_t *, uint16_t *, uint16_t *, uint16_t *
 
 vlc_module_begin();
     add_string( "ggi-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE );
-        change_safe();
     set_description( "General Graphics Interface video output" );
     set_capability( "video output", 30 );
     set_callbacks( Create, Destroy );