From: Philippe Normand Date: Thu, 4 Jun 2015 07:40:19 +0000 (+0200) Subject: gl/dispmanx: Fix build X-Git-Tag: 1.19.3~511^2~1989^2~802 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=deedbd799c015f4d7c4831536e492272171f0f97;p=platform%2Fupstream%2Fgstreamer.git gl/dispmanx: Fix build --- 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; }