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:40:57 +0200
commitc106a3653b7052f9ab8b272fbd54a6f1e36bc159 (patch)
treeacf2f2f671ab30395ec7f08d4dc03f4ba6f0975d /sys
parent6bd61f861ca18e523cbd7e0993ea78cee28cff1b (diff)
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 f3c9eac5e..e2618829f 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 <NSWindowDelegate>
+#else
+@interface GstWindowDelegate : NSObject
+#endif
{
@public
GstOSXVideoSink *osxvideosink;