From: Sebastian Dröge Date: Fri, 22 Feb 2013 09:58:19 +0000 (+0100) Subject: eglglessink: Fix compiler warning on RPi X-Git-Tag: 1.19.3~507^2~14016 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=196223b8109e5cf4afbcf74e3653c7ff108a2be2;p=platform%2Fupstream%2Fgstreamer.git eglglessink: Fix compiler warning on RPi --- diff --git a/ext/eglgles/gsteglglessink.c b/ext/eglgles/gsteglglessink.c index 048824f547..e1de4b6bbe 100644 --- a/ext/eglgles/gsteglglessink.c +++ b/ext/eglgles/gsteglglessink.c @@ -1539,8 +1539,8 @@ gst_eglglessink_init_egl_display (GstEglGlesSink * eglglessink) GST_DEBUG_OBJECT (eglglessink, "Enter EGL initial configuration"); #ifdef USE_EGL_RPI - eglglessink->eglglesctx.display = gst_egl_display_new (display); - if (!eglMakeCurrent (1, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) { + /* 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 (eglglessink, "Couldn't unbind context"); return FALSE;