From: Alessandro Decina Date: Mon, 9 Feb 2015 09:44:50 +0000 (+1100) Subject: libgstgl: set user data and GDestroyNotify for wrapped textures X-Git-Tag: 1.19.3~511^2~1989^2~1070 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c24f0f49a8d805475d041d147a01564684ce3e80;p=platform%2Fupstream%2Fgstreamer.git libgstgl: set user data and GDestroyNotify for wrapped textures --- diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index bca13ce..19aa47d 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;