mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
[461/906] xoverlay: require base from git and update to new API
This commit is contained in:
parent
b130c3b750
commit
4555feb043
1 changed files with 7 additions and 7 deletions
|
@ -32,20 +32,20 @@
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_x_overlay_set_gtk_window (GstXOverlay *xoverlay, GtkWidget *window)
|
gst_x_overlay_set_gtk_window (GstXOverlay * xoverlay, GtkWidget * window)
|
||||||
{
|
{
|
||||||
|
|
||||||
#if defined(GDK_WINDOWING_WIN32)
|
#if defined(GDK_WINDOWING_WIN32)
|
||||||
gst_x_overlay_set_xwindow_id (xoverlay, (gulong)GDK_WINDOW_HWND(window->window));
|
gst_x_overlay_set_window_handle (xoverlay,
|
||||||
|
(gulong) GDK_WINDOW_HWND (window->window));
|
||||||
#elif defined(GDK_WINDOWING_QUARTZ)
|
#elif defined(GDK_WINDOWING_QUARTZ)
|
||||||
gst_x_overlay_set_xwindow_id (xoverlay,
|
gst_x_overlay_set_window_handle (xoverlay,
|
||||||
(gulong)gdk_quartz_window_get_nswindow (window->window));
|
(gulong) gdk_quartz_window_get_nswindow (window->window));
|
||||||
#elif defined(GDK_WINDOWING_X11)
|
#elif defined(GDK_WINDOWING_X11)
|
||||||
gst_x_overlay_set_xwindow_id (xoverlay, GDK_WINDOW_XWINDOW(window->window));
|
gst_x_overlay_set_window_handle (xoverlay,
|
||||||
|
GDK_WINDOW_XWINDOW (window->window));
|
||||||
#else
|
#else
|
||||||
#error unimplemented GTK backend
|
#error unimplemented GTK backend
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue