bluez: add debug category for avdtp utils

This commit is contained in:
Tim-Philipp Müller 2013-05-13 00:06:10 +01:00
parent 0c1f059245
commit df412ea69e
2 changed files with 7 additions and 0 deletions

View file

@ -27,9 +27,13 @@
#include "gstavdtpsrc.h"
#include <string.h>
GST_DEBUG_CATEGORY (avdtp_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
GST_DEBUG_CATEGORY_INIT (avdtp_debug, "avdtp", 0, "avdtp utils");
gst_element_register (plugin, "a2dpsink", GST_RANK_NONE, GST_TYPE_A2DP_SINK);
gst_element_register (plugin, "avdtpsink",

View file

@ -41,6 +41,9 @@
#define TEMPLATE_MAX_BITPOOL 64
GST_DEBUG_CATEGORY_EXTERN (avdtp_debug);
#define GST_CAT_DEFAULT avdtp_debug
gboolean
gst_avdtp_connection_acquire (GstAvdtpConnection * conn)
{