gst/rtp/: Add log category.

Original commit message from CVS:
* gst/rtp/gstrtpgsmdepay.c:
* gst/rtp/gstrtpgsmpay.c:
Add log category.
This commit is contained in:
Stefan Kost 2007-10-04 07:29:48 +00:00
parent 123e085e75
commit 11aaae270b
3 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,9 @@
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>

View file

@ -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

View file

@ -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