mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-09 19:09:41 +00:00
eglglessink: Cleanup stale code comments
This commit is contained in:
parent
391137a20e
commit
5763c8d308
1 changed files with 0 additions and 15 deletions
|
@ -1420,13 +1420,6 @@ gst_eglglessink_set_window_handle (GstXOverlay * overlay, guintptr id)
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
if (!gst_eglglessink_init_egl_surface (eglglessink)) {
|
||||
GST_ERROR_OBJECT (eglglessink, "Couldn't init EGL surface!");
|
||||
goto HANDLE_ERROR;
|
||||
}
|
||||
*/
|
||||
|
||||
return;
|
||||
|
||||
/* Errors */
|
||||
|
@ -1631,13 +1624,6 @@ gst_eglglessink_setcaps (GstBaseSink * bsink, GstCaps * caps)
|
|||
* already if it meant to do so
|
||||
*/
|
||||
if (!eglglessink->have_window) {
|
||||
/*
|
||||
if (!eglglessink->can_create_window) {
|
||||
GST_ERROR_OBJECT (eglglessink,
|
||||
"Have no window and we have been told not to create one!");
|
||||
goto HANDLE_ERROR;
|
||||
}
|
||||
*/
|
||||
GST_INFO_OBJECT (eglglessink,
|
||||
"No window. Will attempt internal window creation");
|
||||
if (!(window = gst_eglglessink_create_window (eglglessink, width, height))) {
|
||||
|
@ -1653,7 +1639,6 @@ gst_eglglessink_setcaps (GstBaseSink * bsink, GstCaps * caps)
|
|||
goto HANDLE_ERROR;
|
||||
}
|
||||
}
|
||||
// gst_eglglessink_init_egl_exts (eglglessink);
|
||||
|
||||
SUCCEED:
|
||||
GST_INFO_OBJECT (eglglessink, "Setcaps succeed");
|
||||
|
|
Loading…
Reference in a new issue