mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
eglglessink: Remove workaround for a bug in the RPi EGL implementation
It's fixed in the latest firmware since a few weeks.
This commit is contained in:
parent
3d50af3e4b
commit
aad0992ae6
1 changed files with 0 additions and 9 deletions
|
@ -131,15 +131,6 @@ gst_egl_adaptation_init_egl_display (GstEglAdaptationContext * ctx)
|
||||||
GST_ERROR_OBJECT (ctx->element, "Couldn't init EGL platform wrapper");
|
GST_ERROR_OBJECT (ctx->element, "Couldn't init EGL platform wrapper");
|
||||||
goto HANDLE_ERROR;
|
goto HANDLE_ERROR;
|
||||||
}
|
}
|
||||||
#ifdef USE_EGL_RPI
|
|
||||||
/* See https://github.com/raspberrypi/firmware/issues/99 */
|
|
||||||
if (!eglMakeCurrent ((EGLDisplay) 1, EGL_NO_SURFACE, EGL_NO_SURFACE,
|
|
||||||
EGL_NO_CONTEXT)) {
|
|
||||||
got_egl_error ("eglMakeCurrent");
|
|
||||||
GST_ERROR_OBJECT (ctx->element, "Couldn't unbind context");
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
msg = gst_message_new_need_context (GST_OBJECT_CAST (ctx->element));
|
msg = gst_message_new_need_context (GST_OBJECT_CAST (ctx->element));
|
||||||
gst_message_add_context_type (msg, GST_EGL_DISPLAY_CONTEXT_TYPE);
|
gst_message_add_context_type (msg, GST_EGL_DISPLAY_CONTEXT_TYPE);
|
||||||
|
|
Loading…
Reference in a new issue