seek: Let the XOverlay element handle events
Need for proper resizing.
This commit is contained in:
parent
8e46431836
commit
9a627ed071
@ -1865,7 +1865,6 @@ bus_sync_handler (GstBus * bus, GstMessage * message, SeekApp * app)
|
|||||||
g_assert (app->embed_xid != 0);
|
g_assert (app->embed_xid != 0);
|
||||||
|
|
||||||
gst_x_overlay_set_window_handle (GST_X_OVERLAY (element), app->embed_xid);
|
gst_x_overlay_set_window_handle (GST_X_OVERLAY (element), app->embed_xid);
|
||||||
gst_x_overlay_handle_events (GST_X_OVERLAY (element), FALSE);
|
|
||||||
|
|
||||||
find_interface_elements (app);
|
find_interface_elements (app);
|
||||||
}
|
}
|
||||||
@ -2813,7 +2812,6 @@ main (int argc, char **argv)
|
|||||||
if (app.pipeline_type == 0) {
|
if (app.pipeline_type == 0) {
|
||||||
gst_x_overlay_set_window_handle (GST_X_OVERLAY (app.pipeline),
|
gst_x_overlay_set_window_handle (GST_X_OVERLAY (app.pipeline),
|
||||||
app.embed_xid);
|
app.embed_xid);
|
||||||
gst_x_overlay_handle_events (GST_X_OVERLAY (app.pipeline), FALSE);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user