glsyncmeta: Actually return the newly created meta from gst_buffer_add_gl_sync_meta()

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]
 }
 ^
This commit is contained in:
Sebastian Dröge 2015-11-17 17:08:14 +02:00 committed by Tim-Philipp Müller
parent 9fd665c90d
commit 316c2c3418

View file

@ -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