From 70bc469a8a3b0beba338d707336ee37a03de51e2 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Fri, 2 May 2014 05:51:36 +0100 Subject: [PATCH] gl: pass NSView instead of NSWindow in cocoa-videooverlay example https://bugzilla.gnome.org/show_bug.cgi?id=728451 --- tests/examples/gl/cocoa/cocoa-videooverlay.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/gl/cocoa/cocoa-videooverlay.m b/tests/examples/gl/cocoa/cocoa-videooverlay.m index c9d76a5743..683abe1253 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);