From 64fc86844d7c6002316cb0b8fb731656adf90308 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sun, 21 Sep 2014 21:42:41 +1000 Subject: [PATCH] glmemory: add debug line for freeing textures --- gst-libs/gst/gl/gstglmemory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index 3d1d4fcf90..6e72bda0da 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);