mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
libgstgl: set user data and GDestroyNotify for wrapped textures
This commit is contained in:
parent
2ad315b9e9
commit
c24f0f49a8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue