From 316c2c3418d83a9ecf81bc50b2cba9949267b1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 17 Nov 2015 17:08:14 +0200 Subject: [PATCH] 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] } ^ --- gst-libs/gst/gl/gstglsyncmeta.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/gstglsyncmeta.c b/gst-libs/gst/gl/gstglsyncmeta.c index 66b5c2a10e..a2f44a3ec2 100644 --- 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