gl/dispmanx: Fix build

This commit is contained in:
Philippe Normand 2015-06-04 09:40:19 +02:00 committed by Tim-Philipp Müller
parent 66c8c8ad87
commit deedbd799c

View file

@ -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;
}