]> git.sesse.net Git - vlc/blobdiff - modules/video_output/msw/glwin32.c
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / video_output / msw / glwin32.c
index f120069ca2468ca5f06c59b899c3a315d7064649..c6173b8c3176a6cb4940ebb81f2336f4b7eea9f2 100644 (file)
@@ -54,23 +54,10 @@ vlc_module_begin()
     set_shortname("OpenGL")
     set_description(N_("OpenGL video output"))
     set_capability("vout display", 20)
-    add_shortcut("glwin32")
-    add_shortcut("opengl")
+    add_shortcut("glwin32", "opengl")
     set_callbacks(Open, Close)
-
-    /* FIXME: Hack to avoid unregistering our window class */
-    cannot_unload_broken_library ()
 vlc_module_end()
 
-#if 0 /* FIXME */
-    /* 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));
-#endif
-
-
 /*****************************************************************************
  * Local prototypes.
  *****************************************************************************/
@@ -133,8 +120,9 @@ static int Open(vlc_object_t *object)
 
     vout_display_info_t info = vd->info;
     info.has_double_click = true;
-    info.has_hide_mouse = true;
+    info.has_hide_mouse = false;
     info.has_pictures_invalid = true;
+    info.has_event_thread = true;
 
    /* Setup vout_display now that everything is fine */
     vd->fmt  = fmt;