mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
eglglessink: Avoid initializing EGL at _set_window_handle()
_start() should take care of that. This change asumes _setcaps() will happen always after _start() is done.
This commit is contained in:
parent
ead20f4f0b
commit
a96fa541ee
1 changed files with 0 additions and 8 deletions
|
@ -1424,14 +1424,6 @@ gst_eglglessink_set_window_handle (GstXOverlay * overlay, guintptr id)
|
|||
eglglessink->have_window = TRUE;
|
||||
g_mutex_unlock (eglglessink->flow_lock);
|
||||
|
||||
if (!eglglessink->egl_started) {
|
||||
GST_INFO_OBJECT (eglglessink, "Got a handle, doing EGL initialization");
|
||||
if (!egl_init (eglglessink)) {
|
||||
GST_ERROR_OBJECT (eglglessink, "EGL Initialization failed!");
|
||||
goto HANDLE_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
/* Errors */
|
||||
|
|
Loading…
Reference in a new issue