mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
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:
parent
4bd62ebb03
commit
a2a8059daf
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ gst_gl_display_get_gl_api (GstGLDisplay * display)
|
|||
{
|
||||
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);
|
||||
ret = display->priv->gl_api;
|
||||
|
|
Loading…
Reference in a new issue