diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-09-16 13:57:05 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-09-16 13:57:33 -0400 |
commit | f57d20bacc85ec9e45ae21746e28faef0beff149 (patch) | |
tree | ef18a6294c34825d218495cbf1d4eee807265baf | |
parent | ab3b595f2beeb5001cade43db50ad26e334808df (diff) | |
download | gstreamer-plugins-good-f57d20bacc85ec9e45ae21746e28faef0beff149.tar.gz |
rtpg729pay/depay: Add debug categories
-rw-r--r-- | gst/rtp/gstrtpg729depay.c | 7 | ||||
-rw-r--r-- | gst/rtp/gstrtpg729pay.c | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpg729depay.c b/gst/rtp/gstrtpg729depay.c index 2c1824740..7eb34772e 100644 --- a/gst/rtp/gstrtpg729depay.c +++ b/gst/rtp/gstrtpg729depay.c @@ -26,6 +26,10 @@ #include <string.h> #include "gstrtpg729depay.h" +GST_DEBUG_CATEGORY_STATIC (rtpg729depay_debug); +#define GST_CAT_DEFAULT (rtpg729depay_debug) + + /* references: * * RFC 3551 (4.5.6) @@ -93,6 +97,9 @@ gst_rtp_g729_depay_base_init (gpointer klass) gst_static_pad_template_get (&gst_rtp_g729_depay_sink_template)); gst_element_class_set_details (element_class, &gst_rtp_g729depay_details); + + GST_DEBUG_CATEGORY_INIT (rtpg729depay_debug, "rtpg729depay", 0, + "G.729 RTP Depayloader"); } static void diff --git a/gst/rtp/gstrtpg729pay.c b/gst/rtp/gstrtpg729pay.c index 23f3280fe..003988e34 100644 --- a/gst/rtp/gstrtpg729pay.c +++ b/gst/rtp/gstrtpg729pay.c @@ -35,6 +35,9 @@ #include "gstrtpg729pay.h" +GST_DEBUG_CATEGORY_STATIC (rtpg729pay_debug); +#define GST_CAT_DEFAULT (rtpg729pay_debug) + #define G729_FRAME_SIZE 10 #define G729B_CN_FRAME_SIZE 2 #define G729_FRAME_DURATION (10 * GST_MSECOND) @@ -91,6 +94,9 @@ gst_rtp_g729_pay_base_init (gpointer klass) gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&gst_rtp_g729_pay_src_template)); gst_element_class_set_details (element_class, &gst_rtp_g729_pay_details); + + GST_DEBUG_CATEGORY_INIT (rtpg729pay_debug, "rtpg729pay", 0, + "G.729 RTP Payloader"); } static void |