From 9a88d737fcfceeeeb2ea582eab1d926e8c35d390 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Thu, 18 Apr 2013 12:27:28 +0200 Subject: [PATCH] eglglessink: fix warnings building on the RPI --- ext/eglgles/gsteglglessink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"); -- 2.34.1