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
@ -111,7 +111,7 @@ static GstBusSyncReply create_window (GstBus* bus, GstMessage* message, MainWind
|
|||||||
|
|
||||||
g_print ("setting window handle %lud\n", (gulong) window);
|
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);
|
gst_message_unref (message);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user