diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2007-10-04 07:29:48 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2007-10-04 07:29:48 +0000 |
commit | 11aaae270b6dd3567d25214112c7d0e1d75701e5 (patch) | |
tree | efc870efb6609aa96d7e05d3641f8adbe3e89a0d /gst/rtp/gstrtpgsmpay.c | |
parent | 123e085e7565a61e1dd3fb194388b04b980378ed (diff) |
gst/rtp/: Add log category.
Original commit message from CVS:
* gst/rtp/gstrtpgsmdepay.c:
* gst/rtp/gstrtpgsmpay.c:
Add log category.
Diffstat (limited to 'gst/rtp/gstrtpgsmpay.c')
-rw-r--r-- | gst/rtp/gstrtpgsmpay.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |