From aad0992ae648b38121dd74cc4dd363f83e72ab10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 8 Jun 2013 14:48:03 +0200 Subject: [PATCH] eglglessink: Remove workaround for a bug in the RPi EGL implementation It's fixed in the latest firmware since a few weeks. --- ext/eglgles/gstegladaptation_egl.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ext/eglgles/gstegladaptation_egl.c b/ext/eglgles/gstegladaptation_egl.c index cecbcd4ab9..0c8a75b0eb 100644 --- a/ext/eglgles/gstegladaptation_egl.c +++ b/ext/eglgles/gstegladaptation_egl.c @@ -131,15 +131,6 @@ gst_egl_adaptation_init_egl_display (GstEglAdaptationContext * ctx) GST_ERROR_OBJECT (ctx->element, "Couldn't init EGL platform wrapper"); 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)); gst_message_add_context_type (msg, GST_EGL_DISPLAY_CONTEXT_TYPE);