Replace the deprecated gst_x_overlay_set_xwindow_id with
gst_x_overlay_set_window_handle
Fixes #630255
return GST_BUS_PASS;
/* FIXME: make sure to get XID in main thread */
- gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (message->src),
+ gst_x_overlay_set_window_handle (GST_X_OVERLAY (message->src),
GDK_WINDOW_XWINDOW (gtk_widget_get_window (ui_drawing)));
gst_message_unref (message);
if (st) {
if (gst_structure_has_name (message->structure, "prepare-xwindow-id")) {
if (!no_xwindow && window) {
- gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (GST_MESSAGE_SRC
+ gst_x_overlay_set_window_handle (GST_X_OVERLAY (GST_MESSAGE_SRC
(message)), window);
gst_message_unref (message);
message = NULL;