gl: pass NSView instead of NSWindow in cocoa-videooverlay example

https://bugzilla.gnome.org/show_bug.cgi?id=728451
This commit is contained in:
Julien Isorce 2014-05-02 05:51:36 +01:00
parent e42d40c063
commit 619e7be748

View file

@ -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);