From ad08cdf8e179c9f1a3d75b58c1c5134b43003430 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Mon, 9 Feb 2015 20:44:50 +1100 Subject: libgstgl: set user data and GDestroyNotify for wrapped textures --- gst-libs/gst/gl/gstglmemory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index bca13cec1..19aa47d88 100644 --- a/gst-libs/gst/gl/gstglmemory.c +++ b/gst-libs/gst/gl/gstglmemory.c @@ -1234,8 +1234,8 @@ gst_gl_memory_wrapped_texture (GstGLContext * context, GstGLMemory *mem; mem = g_slice_new0 (GstGLMemory); - _gl_mem_init (mem, _gl_allocator, NULL, context, info, valign, plane, NULL, - NULL); + _gl_mem_init (mem, _gl_allocator, NULL, context, info, valign, plane, + user_data, notify); mem->tex_id = texture_id; mem->tex_target = texture_target; -- cgit v1.2.3