diff --git a/ChangeLog b/ChangeLog index 763f238249..ad13866f40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-10-04 Stefan Kost + + * gst/rtp/gstrtpgsmdepay.c: + * gst/rtp/gstrtpgsmpay.c: + Add log category. + 2007-10-04 Stefan Kost Patch by: Timo Hotti diff --git a/gst/rtp/gstrtpgsmdepay.c b/gst/rtp/gstrtpgsmdepay.c index c7f38fc827..d1b5a678b3 100644 --- a/gst/rtp/gstrtpgsmdepay.c +++ b/gst/rtp/gstrtpgsmdepay.c @@ -26,6 +26,9 @@ #include #include "gstrtpgsmdepay.h" +GST_DEBUG_CATEGORY_STATIC (rtpgsmdepay_debug); +#define GST_CAT_DEFAULT (rtpgsmdepay_debug) + /* elementfactory information */ static GstElementDetails gst_rtp_gsmdepay_details = { "RTP packet depayloader", @@ -97,6 +100,9 @@ gst_rtp_gsm_depay_class_init (GstRTPGSMDepayClass * klass) gstbasertp_depayload_class->process = gst_rtp_gsm_depay_process; gstbasertp_depayload_class->set_caps = gst_rtp_gsm_depay_setcaps; + + GST_DEBUG_CATEGORY_INIT (rtpgsmdepay_debug, "rtpgsmdepay", 0, + "GSM Audio RTP Depayloader"); } static void diff --git a/gst/rtp/gstrtpgsmpay.c b/gst/rtp/gstrtpgsmpay.c index f09d091d69..ae08466a58 100644 --- a/gst/rtp/gstrtpgsmpay.c +++ b/gst/rtp/gstrtpgsmpay.c @@ -28,6 +28,9 @@ #include "gstrtpgsmpay.h" +GST_DEBUG_CATEGORY_STATIC (rtpgsmpay_debug); +#define GST_CAT_DEFAULT (rtpgsmpay_debug) + /* elementfactory information */ static const GstElementDetails gst_rtp_gsm_pay_details = GST_ELEMENT_DETAILS ("RTP GSM audio payloader", @@ -91,6 +94,9 @@ gst_rtp_gsm_pay_class_init (GstRTPGSMPayClass * klass) gstbasertppayload_class->set_caps = gst_rtp_gsm_pay_setcaps; gstbasertppayload_class->handle_buffer = gst_rtp_gsm_pay_handle_buffer; + + GST_DEBUG_CATEGORY_INIT (rtpgsmpay_debug, "rtpgsmpay", 0, + "GSM Audio RTP Payloader"); } static void