summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/examples/gl/cocoa/cocoa-videooverlay.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/examples/gl/cocoa/cocoa-videooverlay.m b/tests/examples/gl/cocoa/cocoa-videooverlay.m
index c9d76a574..683abe125 100755
--- a/tests/examples/gl/cocoa/cocoa-videooverlay.m
+++ b/tests/examples/gl/cocoa/cocoa-videooverlay.m
@@ -111,7 +111,7 @@ static GstBusSyncReply create_window (GstBus* bus, GstMessage* message, MainWind
g_print ("setting window handle %lud\n", (gulong) window);
- gst_video_overlay_set_window_handle (GST_VIDEO_OVERLAY (GST_MESSAGE_SRC (message)), (guintptr) window);
+ gst_video_overlay_set_window_handle (GST_VIDEO_OVERLAY (GST_MESSAGE_SRC (message)), (guintptr) [window contentView]);
gst_message_unref (message);