gldisplay: fix build error

gstgldisplay.c:234:541: error: 'return' with no value, in function returning non-void [-Werror]
   g_return_if_fail (GST_IS_GL_DISPLAY (display));
This commit is contained in:
Matthew Waters 2014-11-28 10:03:18 +11:00 committed by Tim-Philipp Müller
parent 4bd62ebb03
commit a2a8059daf

View file

@ -231,7 +231,7 @@ gst_gl_display_get_gl_api (GstGLDisplay * display)
{ {
GstGLAPI ret; GstGLAPI ret;
g_return_if_fail (GST_IS_GL_DISPLAY (display)); g_return_val_if_fail (GST_IS_GL_DISPLAY (display), GST_GL_API_NONE);
GST_OBJECT_LOCK (display); GST_OBJECT_LOCK (display);
ret = display->priv->gl_api; ret = display->priv->gl_api;