mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gl: pass NSView instead of NSWindow in cocoa-videooverlay example
https://bugzilla.gnome.org/show_bug.cgi?id=728451
This commit is contained in:
parent
e0f94ae094
commit
70bc469a8a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue