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:
9fd665c
)
glsyncmeta: Actually return the newly created meta from gst_buffer_add_gl_sync_meta()
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 17 Nov 2015 15:08:14 +0000
(17:08 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:11 +0000
(19:32 +0000)
gstglsyncmeta.c -fPIC -DPIC -o .libs/libgstgl_1.0_la-gstglsyncmeta.o
gstglsyncmeta.c: In function 'gst_buffer_add_gl_sync_meta':
gstglsyncmeta.c:131:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
gst-libs/gst/gl/gstglsyncmeta.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglsyncmeta.c
b/gst-libs/gst/gl/gstglsyncmeta.c
index
66b5c2a
..
a2f44a3
100644
(file)
--- a/
gst-libs/gst/gl/gstglsyncmeta.c
+++ b/
gst-libs/gst/gl/gstglsyncmeta.c
@@
-128,6
+128,8
@@
gst_buffer_add_gl_sync_meta (GstGLContext * context, GstBuffer * buffer)
ret->wait_gl = _default_wait_gl;
ret->copy = _default_copy;
ret->free_gl = _default_free_gl;
+
+ return ret;
}
static void