mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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
e42d40c063
commit
619e7be748
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