From deedbd799c015f4d7c4831536e492272171f0f97 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Thu, 4 Jun 2015 09:40:19 +0200 Subject: [PATCH] gl/dispmanx: Fix build --- gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c b/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c index 2fdff4b..a1be53d 100644 --- a/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c +++ b/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c @@ -133,7 +133,7 @@ gst_gl_window_dispmanx_egl_open (GstGLWindow * window, GError ** error) gint ret = graphics_get_display_size (0, &window_egl->dp_width, &window_egl->dp_height); if (ret < 0) { - g_set_error (GST_GL_WINDOW_ERROR, GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE, + g_set_error (error, GST_GL_WINDOW_ERROR, GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE, "Can't open display"); return FALSE; } -- 2.7.4