[vlc-commits] windowed mac plugin: for fullscreen playback, we need AppKit
Felix Paul Kühne
git at videolan.org
Wed Jan 16 02:09:47 CET 2013
npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Jan 15 20:58:06 2013 +0100| [c6382e2e9404e9a4f1a0cf73d40be524bc3f4c57] | committer: Felix Paul Kühne
windowed mac plugin: for fullscreen playback, we need AppKit
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=c6382e2e9404e9a4f1a0cf73d40be524bc3f4c57
---
npapi/Makefile.am | 2 +-
npapi/vlcplugin_mac.mm | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/npapi/Makefile.am b/npapi/Makefile.am
index 0d4b146..18a90c6 100644
--- a/npapi/Makefile.am
+++ b/npapi/Makefile.am
@@ -147,7 +147,7 @@ SOURCES_support = support/npmac.cpp \
libvlcplugin_la_LDFLAGS += \
-bundle -Wl,-headerpad_max_install_names \
-Wl,-framework,CoreFoundation -Wl,-framework,ApplicationServices \
- -Wl,-framework,QuartzCore -shrext .dylib
+ -Wl,-framework,QuartzCore, -Wl,-framework,AppKit, -shrext .dylib
noinst_DATA = VLC\ Plugin.plugin
CLEANFILES += VLC\ Plugin.plugin
diff --git a/npapi/vlcplugin_mac.mm b/npapi/vlcplugin_mac.mm
index c4c600c..197465e 100644
--- a/npapi/vlcplugin_mac.mm
+++ b/npapi/vlcplugin_mac.mm
@@ -32,6 +32,7 @@
#include <npapi.h>
#include <QuartzCore/QuartzCore.h>
+#include <AppKit/AppKit.h>
@interface VLCNoMediaLayer : CALayer {
}
More information about the vlc-commits
mailing list