diff options
author | Michal Lazo <xlazom00@gmail.com> | 2014-06-22 21:11:45 +0000 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-06-24 13:01:48 +0200 |
commit | 326e15ca85e66352078c73b42c27afcb5f0b7f48 (patch) | |
tree | 801c8eb6a671ee4157c502d81e7741ab60b4a36c | |
parent | 03c54e7c0fbba61a5b2bf2610b62902321a087da (diff) | |
download | gst-omx-326e15ca85e66352078c73b42c27afcb5f0b7f48.tar.gz |
omxbufferpool: Initialize debug category
-rw-r--r-- | omx/gstomxbufferpool.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/omx/gstomxbufferpool.c b/omx/gstomxbufferpool.c index decd94d..10a6598 100644 --- a/omx/gstomxbufferpool.c +++ b/omx/gstomxbufferpool.c @@ -202,7 +202,12 @@ gst_omx_memory_allocator_alloc (GstAllocator * allocator, GstMemoryFlags flags, static GQuark gst_omx_buffer_data_quark = 0; -G_DEFINE_TYPE (GstOMXBufferPool, gst_omx_buffer_pool, GST_TYPE_BUFFER_POOL); +#define DEBUG_INIT \ + GST_DEBUG_CATEGORY_INIT (gst_omx_buffer_pool_debug_category, "omxbufferpool", 0, \ + "debug category for gst-omx buffer pool base class"); + +G_DEFINE_TYPE_WITH_CODE (GstOMXBufferPool, gst_omx_buffer_pool, + GST_TYPE_BUFFER_POOL, DEBUG_INIT); static void gst_omx_buffer_pool_free_buffer (GstBufferPool * bpool, GstBuffer * buffer); |