mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
glwindow: fix compiler error
gstglwindow.c:1118:544: error: 'return' with no value, in function returning non-void [-Werror] g_return_if_fail (GST_GL_IS_WINDOW (window));
This commit is contained in:
parent
411d4d13b4
commit
fea0b65eb5
1 changed files with 1 additions and 1 deletions
|
@ -1115,7 +1115,7 @@ gst_gl_window_set_render_rectangle (GstGLWindow * window, gint x, gint y,
|
|||
GstGLWindowClass *window_class;
|
||||
gboolean ret = FALSE;
|
||||
|
||||
g_return_if_fail (GST_GL_IS_WINDOW (window));
|
||||
g_return_val_if_fail (GST_GL_IS_WINDOW (window), FALSE);
|
||||
window_class = GST_GL_WINDOW_GET_CLASS (window);
|
||||
|
||||
if (x < 0 || y < 0 || width <= 0 || height <= 0)
|
||||
|
|
Loading…
Reference in a new issue