libgstgl: set user data and GDestroyNotify for wrapped textures

This commit is contained in:
Alessandro Decina 2015-02-09 20:44:50 +11:00 committed by Tim-Philipp Müller
parent 2ad315b9e9
commit c24f0f49a8

View file

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