projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd62eb
)
gldisplay: fix build error
author
Matthew Waters
<matthew@centricular.com>
Thu, 27 Nov 2014 23:03:18 +0000
(10:03 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:51 +0000
(19:31 +0000)
gstgldisplay.c:234:541: error: 'return' with no value, in function returning non-void [-Werror]
g_return_if_fail (GST_IS_GL_DISPLAY (display));
gst-libs/gst/gl/gstgldisplay.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstgldisplay.c
b/gst-libs/gst/gl/gstgldisplay.c
index
addbddd
..
a8785f6
100644
(file)
--- a/
gst-libs/gst/gl/gstgldisplay.c
+++ b/
gst-libs/gst/gl/gstgldisplay.c
@@
-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;