seek: Let the XOverlay element handle events

Need for proper resizing.
This commit is contained in:
Sebastian Dröge 2012-02-24 12:09:31 +01:00
parent 8e46431836
commit 9a627ed071

View file

@ -1865,7 +1865,6 @@ bus_sync_handler (GstBus * bus, GstMessage * message, SeekApp * app)
g_assert (app->embed_xid != 0);
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);
}
@ -2813,7 +2812,6 @@ main (int argc, char **argv)
if (app.pipeline_type == 0) {
gst_x_overlay_set_window_handle (GST_X_OVERLAY (app.pipeline),
app.embed_xid);
gst_x_overlay_handle_events (GST_X_OVERLAY (app.pipeline), FALSE);
}
#endif