summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-10-04 07:29:48 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-10-04 07:29:48 +0000
commit11aaae270b6dd3567d25214112c7d0e1d75701e5 (patch)
treeefc870efb6609aa96d7e05d3641f8adbe3e89a0d
parent123e085e7565a61e1dd3fb194388b04b980378ed (diff)
gst/rtp/: Add log category.
Original commit message from CVS: * gst/rtp/gstrtpgsmdepay.c: * gst/rtp/gstrtpgsmpay.c: Add log category.
-rw-r--r--ChangeLog6
-rw-r--r--gst/rtp/gstrtpgsmdepay.c6
-rw-r--r--gst/rtp/gstrtpgsmpay.c6
3 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 763f2382..ad13866f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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