mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
glwindow_cocoa: fix video overlay support
Make sure the window handle is configured after the NSWindow was created. https://bugzilla.gnome.org/show_bug.cgi?id=767462
This commit is contained in:
parent
24e3cbf13b
commit
dcb35318e9
1 changed files with 5 additions and 0 deletions
|
@ -201,6 +201,11 @@ gst_gl_window_cocoa_create_window (GstGLWindowCocoa *window_cocoa)
|
|||
|
||||
g_atomic_int_set (&window_cocoa->priv->view_ready, 1);
|
||||
|
||||
/* Set the window handle for real now that the NSWindow has been created. */
|
||||
if (priv->external_view)
|
||||
gst_gl_window_cocoa_set_window_handle (window,
|
||||
(guintptr) priv->external_view);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue