diff options
author | Alessandro Decina <alessandro.d@gmail.com> | 2015-02-09 20:44:50 +1100 |
---|---|---|
committer | Alessandro Decina <alessandro.d@gmail.com> | 2015-02-09 20:46:51 +1100 |
commit | ad08cdf8e179c9f1a3d75b58c1c5134b43003430 (patch) | |
tree | 9b38e98f14fa5e6f4f8fdd015a73ef7bb289b042 | |
parent | 22b0a4dad534b5713af042bd4d1d3fb50bea5f8b (diff) |
libgstgl: set user data and GDestroyNotify for wrapped textures
-rw-r--r-- | gst-libs/gst/gl/gstglmemory.c | 4 |
1 files 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; |