diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/rtp/gstrtpgsmdepay.c | 6 | ||||
-rw-r--r-- | gst/rtp/gstrtpgsmpay.c | 6 |
3 files changed, 18 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2007-10-04 Stefan Kost <ensonic@users.sf.net> + * gst/rtp/gstrtpgsmdepay.c: + * gst/rtp/gstrtpgsmpay.c: + Add log category. + +2007-10-04 Stefan Kost <ensonic@users.sf.net> + Patch by: Timo Hotti <Timo.Hotti@sysopendigia.com> * tests/check/Makefile.am: diff --git a/gst/rtp/gstrtpgsmdepay.c b/gst/rtp/gstrtpgsmdepay.c index c7f38fc8..d1b5a678 100644 --- a/gst/rtp/gstrtpgsmdepay.c +++ b/gst/rtp/gstrtpgsmdepay.c @@ -26,6 +26,9 @@ #include <gst/rtp/gstrtpbuffer.h> #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 f09d091d..ae08466a 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 |