mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
eglglessink: Don't ask for a window if we already have one
This commit is contained in:
parent
22eb374b57
commit
ead20f4f0b
1 changed files with 2 additions and 1 deletions
|
@ -865,7 +865,8 @@ gst_eglglessink_start (GstBaseSink * sink)
|
|||
}
|
||||
|
||||
/* Ask for a window to render to */
|
||||
gst_x_overlay_prepare_xwindow_id (GST_X_OVERLAY (eglglessink));
|
||||
if (!eglglessink->have_window)
|
||||
gst_x_overlay_prepare_xwindow_id (GST_X_OVERLAY (eglglessink));
|
||||
|
||||
if (!eglglessink->have_window && !eglglessink->can_create_window) {
|
||||
GST_ERROR_OBJECT (eglglessink, "Window handle unavailable and we "
|
||||
|
|
Loading…
Reference in a new issue