From: Josep Torra Date: Thu, 18 Apr 2013 10:27:28 +0000 (+0200) Subject: eglglessink: fix warnings building on the RPI X-Git-Tag: 1.19.3~507^2~13784 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a88d737fcfceeeeb2ea582eab1d926e8c35d390;p=platform%2Fupstream%2Fgstreamer.git eglglessink: fix warnings building on the RPI --- diff --git a/ext/eglgles/gsteglglessink.c b/ext/eglgles/gsteglglessink.c index cdda6d62dc..a202f90b32 100644 --- a/ext/eglgles/gsteglglessink.c +++ b/ext/eglgles/gsteglglessink.c @@ -712,12 +712,11 @@ static gboolean gst_eglglessink_create_window (GstEglGlesSink * eglglessink, gint width, gint height) { - EGLNativeWindowType window = 0; gboolean window_created = FALSE; if (!eglglessink->create_window) { GST_ERROR_OBJECT (eglglessink, "This sink can't create a window by itself"); - return window; + return FALSE; } else GST_INFO_OBJECT (eglglessink, "Attempting internal window creation");