osxvideosink: Fix build with older OSX versions
authorJosep Torra <n770galaxy@gmail.com>
Wed, 30 May 2012 10:40:57 +0000 (12:40 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 30 May 2012 10:40:57 +0000 (12:40 +0200)
sys/osxvideo/osxvideosink.h

index f3c9eac..e261882 100644 (file)
@@ -107,7 +107,11 @@ GType gst_osx_video_sink_get_type(void);
 @end
 
 
+#if MAC_OS_X_VERSION_MIN_REQUIRED == MAC_OS_X_VERSION_10_6
 @interface GstWindowDelegate : NSObject <NSWindowDelegate>
+#else
+@interface GstWindowDelegate : NSObject
+#endif
 {
   @public
   GstOSXVideoSink *osxvideosink;