projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed7d0c4
)
examples/gl/gtk: fix overlay handling for macOS
author
Philippe Normand
<philn@igalia.com>
Wed, 30 Aug 2017 14:16:39 +0000
(15:16 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:30 +0000
(19:32 +0000)
The GTK+ window requires a NSView sub-view, not an NSWindow.
tests/examples/gl/gtk/gstgtk.c
patch
|
blob
|
history
diff --git
a/tests/examples/gl/gtk/gstgtk.c
b/tests/examples/gl/gtk/gstgtk.c
index
493d6b3
..
40caa8d
100644
(file)
--- a/
tests/examples/gl/gtk/gstgtk.c
+++ b/
tests/examples/gl/gtk/gstgtk.c
@@
-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_ns
windo
w (window));
+ gdk_quartz_window_get_ns
vie
w (window));
} else
#endif
#if GST_GL_HAVE_WINDOW_X11 && defined(GDK_WINDOWING_X11)