From c106a3653b7052f9ab8b272fbd54a6f1e36bc159 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Wed, 30 May 2012 12:40:57 +0200 Subject: [PATCH] osxvideosink: Fix build with older OSX versions --- sys/osxvideo/osxvideosink.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/osxvideo/osxvideosink.h b/sys/osxvideo/osxvideosink.h index f3c9eac5ea..e2618829f0 100644 --- a/sys/osxvideo/osxvideosink.h +++ b/sys/osxvideo/osxvideosink.h @@ -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 +#else +@interface GstWindowDelegate : NSObject +#endif { @public GstOSXVideoSink *osxvideosink;