summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2014-09-21 21:42:41 +1000
committerMatthew Waters <ystreet00@gmail.com>2014-09-21 21:42:41 +1000
commit64fc86844d7c6002316cb0b8fb731656adf90308 (patch)
tree1c78c3d5f6039d11e0d395dcce93c468cf7f0319
parent5b8d7a443ead269d034401a6788f2d47f8fa4bc5 (diff)
glmemory: add debug line for freeing textures
-rw-r--r--gst-libs/gst/gl/gstglmemory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c
index 3d1d4fcf9..6e72bda0d 100644
--- a/gst-libs/gst/gl/gstglmemory.c
+++ b/gst-libs/gst/gl/gstglmemory.c
@@ -925,6 +925,8 @@ _gl_mem_free (GstAllocator * allocator, GstMemory * mem)
{
GstGLMemory *gl_mem = (GstGLMemory *) mem;
+ GST_CAT_TRACE (GST_CAT_GL_MEMORY, "freeing texture %u", gl_mem->tex_id);
+
gst_gl_context_thread_add (gl_mem->context,
(GstGLContextThreadFunc) _destroy_gl_objects, gl_mem);