osxvideo: Remove QuickTime references.
authorJan Schmidt <jan@centricular.com>
Tue, 30 Aug 2016 19:50:44 +0000 (05:50 +1000)
committerJan Schmidt <jan@centricular.com>
Tue, 30 Aug 2016 19:52:37 +0000 (05:52 +1000)
QuickTime.h is no longer available on OS X 10.12 (Sierra),
and both the header and the framework seem unnecessary
for compilation - at least as of 10.11 (El Capitan).

https://bugzilla.gnome.org/show_bug.cgi?id=770526

sys/osxvideo/Makefile.am
sys/osxvideo/cocoawindow.h
sys/osxvideo/osxvideosink.h

index e908695..0d92a87 100644 (file)
@@ -12,7 +12,7 @@ libgstosxvideosink_la_LIBADD =  \
        $(GST_PLUGINS_BASE_LIBS) \
        -lgstvideo-$(GST_API_VERSION)
 
-libgstosxvideosink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,QuickTime -Wl,-framework -Wl,OpenGL
+libgstosxvideosink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -Wl,-framework -Wl,Cocoa -Wl,-framework -Wl,OpenGL
 libgstosxvideosink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS) --tag=CC
 
 noinst_HEADERS = osxvideosink.h cocoawindow.h
index 9355d3c..816f1bb 100644 (file)
@@ -27,7 +27,6 @@
  */
 
 #import <Cocoa/Cocoa.h>
-#import <QuickTime/QuickTime.h>
 #import <glib.h>
 #import <gst/video/navigation.h>
 
index 2bf5d25..d467b0e 100644 (file)
@@ -35,7 +35,6 @@
 #include <objc/runtime.h>
 #include <Cocoa/Cocoa.h>
 
-#include <QuickTime/QuickTime.h>
 #import "cocoawindow.h"
 
 GST_DEBUG_CATEGORY_EXTERN (gst_debug_osx_video_sink);