summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2012-05-30 12:40:57 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-05-30 12:45:05 +0200
commit6f4de5d92b366cfbb2c984b44873db7e579e533e (patch)
tree705f5c767892c44d6da98757c2d4136df4563880 /sys
parent06c3b291c1964e1fda96138c3b83cb06ccd940a6 (diff)
downloadgstreamer-plugins-good-6f4de5d92b366cfbb2c984b44873db7e579e533e.tar.gz
osxvideosink: Fix build with older OSX versions
Diffstat (limited to 'sys')
-rw-r--r--sys/osxvideo/osxvideosink.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/osxvideo/osxvideosink.h b/sys/osxvideo/osxvideosink.h
index e3b1f28af..07ec0ff22 100644
--- a/sys/osxvideo/osxvideosink.h
+++ b/sys/osxvideo/osxvideosink.h
@@ -109,7 +109,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;