summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2015-06-04 09:40:19 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-06-04 09:42:01 +0200
commit53a149f5d4e4cd5df430a2e329b656530ffccff6 (patch)
treed0e15b5417bd7326e6fa9130e52ac2b6b2d95a65 /gst-libs
parent6d04b62e857bf06f38355c20517a4c9d01186078 (diff)
downloadgstreamer-plugins-bad-53a149f5d4e4cd5df430a2e329b656530ffccff6.tar.gz
gl/dispmanx: Fix build
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c b/gst-libs/gst/gl/dispmanx/gstglwindow_dispmanx_egl.c
index 2fdff4b8c..a1be53d3f 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;
}