mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
capsdebug: Add capdebug debug category
This commit is contained in:
parent
97d74f293c
commit
088ae75681
1 changed files with 9 additions and 1 deletions
|
@ -26,6 +26,9 @@
|
|||
#include <gst/gst.h>
|
||||
#include "gstcapsdebug.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_caps_debug_debug);
|
||||
#define GST_CAT_DEFAULT gst_caps_debug_debug
|
||||
|
||||
/* prototypes */
|
||||
|
||||
|
||||
|
@ -67,7 +70,12 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
|||
|
||||
/* class initialization */
|
||||
|
||||
GST_BOILERPLATE (GstCapsDebug, gst_caps_debug, GstElement, GST_TYPE_ELEMENT);
|
||||
#define DEBUG_INIT(bla) \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_caps_debug_debug, "capsdebug", 0, \
|
||||
"debug category for capsdebug element");
|
||||
|
||||
GST_BOILERPLATE_FULL (GstCapsDebug, gst_caps_debug, GstElement,
|
||||
GST_TYPE_ELEMENT, DEBUG_INIT);
|
||||
|
||||
static void
|
||||
gst_caps_debug_base_init (gpointer g_class)
|
||||
|
|
Loading…
Reference in a new issue