[vlc-devel] [PATCH] vout/macos: don't unload library

Pierre Lamot pierre at videolabs.io
Tue Nov 28 13:48:54 CET 2017


  Close function defers calls to the UI thread which won't be able to
  be executed if the module get unloaded
---
 modules/video_output/macosx.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index e0c87d4126..ca41654f6e 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -79,6 +79,7 @@ vlc_module_begin ()
     set_callbacks (Open, Close)
     add_shortcut ("macosx", "vout_macosx")
     add_glconv ()
+    cannot_unload_broken_library()
 vlc_module_end ()
 
 /**
-- 
2.14.1



More information about the vlc-devel mailing list