[vlc-commits] windowed mac plugin: fix get_toolbar_visible

Felix Paul Kühne git at videolan.org
Wed Jan 16 13:47:07 CET 2013


npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jan 16 13:39:36 2013 +0100| [81524d4e20e59029ab18546e24ade0464914c436] | committer: Felix Paul Kühne

windowed mac plugin: fix get_toolbar_visible

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=81524d4e20e59029ab18546e24ade0464914c436
---

 npapi/vlcplugin_mac.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/npapi/vlcplugin_mac.mm b/npapi/vlcplugin_mac.mm
index 910b371..72b80bd 100644
--- a/npapi/vlcplugin_mac.mm
+++ b/npapi/vlcplugin_mac.mm
@@ -270,7 +270,7 @@ void VlcPluginMac::set_toolbar_visible(bool b_value)
 
 bool VlcPluginMac::get_toolbar_visible()
 {
-    return (bool)controllerLayer.opaque;
+    return controllerLayer.isHidden;
 }
 
 void VlcPluginMac::update_controls()



More information about the vlc-commits mailing list