Commit aae0dc37 authored by William Manley's avatar William Manley Committed by Tim-Philipp Müller

allocators: add debug category for fd memory and allocator

Debugging can now be viewed by setting GST_DEBUG=fdmemory:9
parent e8a403d1
......@@ -37,6 +37,9 @@
#include <unistd.h>
GST_DEBUG_CATEGORY_STATIC (gst_fdmemory_debug);
#define GST_CAT_DEFAULT gst_fdmemory_debug
typedef struct
GstMemory mem;
......@@ -197,6 +200,8 @@ gst_fd_allocator_class_init (GstFdAllocatorClass * klass)
allocator_class->alloc = NULL;
allocator_class->free = gst_fd_mem_free;
GST_DEBUG_CATEGORY_INIT (gst_fdmemory_debug, "fdmemory", 0,
"GstFdMemory and GstFdAllocator");
static void
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment