gstpay: add debug
authorAndrzej Bieniek <andrzej.bieniek@pure.com>
Wed, 31 Oct 2012 16:17:48 +0000 (16:17 +0000)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 1 Nov 2012 11:28:50 +0000 (11:28 +0000)
Conflicts:
gst/rtp/gstrtpgstpay.c

gst/rtp/gstrtpgstpay.c

index 86e7afa..e0d4b0e 100644 (file)
@@ -27,6 +27,9 @@
 
 #include "gstrtpgstpay.h"
 
+GST_DEBUG_CATEGORY_STATIC (gst_rtp_pay_debug);
+#define GST_CAT_DEFAULT gst_rtp_pay_debug
+
 /*
  *  0                   1                   2                   3
  *  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
@@ -94,6 +97,9 @@ gst_rtp_gst_pay_class_init (GstRtpGSTPayClass * klass)
 
   gstrtpbasepayload_class->set_caps = gst_rtp_gst_pay_setcaps;
   gstrtpbasepayload_class->handle_buffer = gst_rtp_gst_pay_handle_buffer;
+
+  GST_DEBUG_CATEGORY_INIT (gst_rtp_pay_debug, "rtpgstpay", 0,
+      "rtpgstpay element");
 }
 
 static void