mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
examples/gl/gtk: fix overlay handling for macOS
The GTK+ window requires a NSView sub-view, not an NSWindow.
This commit is contained in:
parent
ed7d0c48f6
commit
0559b42d6c
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ gst_video_overlay_set_gtk_window (GstVideoOverlay * videooverlay,
|
|||
if (GDK_IS_QUARTZ_DISPLAY (display) && (!user_choice
|
||||
|| g_strcmp0 (user_choice, "cocoa") == 0)) {
|
||||
gst_video_overlay_set_window_handle (videooverlay, (guintptr)
|
||||
gdk_quartz_window_get_nswindow (window));
|
||||
gdk_quartz_window_get_nsview (window));
|
||||
} else
|
||||
#endif
|
||||
#if GST_GL_HAVE_WINDOW_X11 && defined(GDK_WINDOWING_X11)
|
||||
|
|
Loading…
Reference in a new issue