osxvideosink: Fix last commit to actually work
authorJosep Torra <n770galaxy@gmail.com>
Wed, 30 May 2012 14:03:55 +0000 (16:03 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 30 May 2012 14:03:55 +0000 (16:03 +0200)
MAC_OS_X_VERSION_10_6 is obviously not defined on 10.5.

sys/osxvideo/osxvideosink.h

index d1cff84..2d18f13 100644 (file)
@@ -107,10 +107,10 @@ 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
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5
 @interface GstWindowDelegate : NSObject
+#else
+@interface GstWindowDelegate : NSObject <NSWindowDelegate>
 #endif
 {
   @public