[vlc-commits] macosx: add support for libdispatch ARC introduced in 10.8

Felix Paul Kühne git at videolan.org
Sat Jun 4 15:57:23 CEST 2016


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jun  4 15:57:16 2016 +0200| [7da5d53a4514d462af94ed84319880b82cb39c82] | committer: Felix Paul Kühne

macosx: add support for libdispatch ARC introduced in 10.8

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7da5d53a4514d462af94ed84319880b82cb39c82
---

 modules/gui/macosx/InputManager.m |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/macosx/InputManager.m b/modules/gui/macosx/InputManager.m
index 41d22b2..ff73159 100644
--- a/modules/gui/macosx/InputManager.m
+++ b/modules/gui/macosx/InputManager.m
@@ -181,7 +181,9 @@ static int InputEvent(vlc_object_t *p_this, const char *psz_var,
 
     var_DelCallback(pl_Get(getIntf()), "input-current", InputThreadChanged, (__bridge void *)self);
 
+#if !OS_OBJECT_USE_OBJC
     dispatch_release(informInputChangedQueue);
+#endif
 }
 
 - (void)inputThreadChanged



More information about the vlc-commits mailing list