[gst-cvs] gst-plugins-good: rtpqdm2depay, rtpsv3vdepay: Add debugging category.
Edward Hervey
bilboed at kemper.freedesktop.org
Mon Aug 3 12:32:32 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: 20c7977b9ba1c719be0a37a592d7daa365718449
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=20c7977b9ba1c719be0a37a592d7daa365718449
Author: Edward Hervey <bilboed at bilboed.com>
Date: Mon Aug 3 21:21:39 2009 +0200
rtpqdm2depay,rtpsv3vdepay: Add debugging category.
---
gst/rtp/gstrtpqdmdepay.c | 6 ++++++
gst/rtp/gstrtpsv3vdepay.c | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/gst/rtp/gstrtpqdmdepay.c b/gst/rtp/gstrtpqdmdepay.c
index 01ad473..32aaff3 100644
--- a/gst/rtp/gstrtpqdmdepay.c
+++ b/gst/rtp/gstrtpqdmdepay.c
@@ -26,6 +26,9 @@
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpqdmdepay.h"
+GST_DEBUG_CATEGORY (rtpqdm2depay_debug);
+#define GST_CAT_DEFAULT rtpqdm2depay_debug
+
/* elementfactory information */
static const GstElementDetails gst_rtp_qdm2depay_details =
GST_ELEMENT_DETAILS ("RTP QDM2 depayloader",
@@ -413,6 +416,9 @@ gst_rtp_qdm2_depay_change_state (GstElement * element,
gboolean
gst_rtp_qdm2_depay_plugin_init (GstPlugin * plugin)
{
+ GST_DEBUG_CATEGORY_INIT (rtpqdm2depay_debug, "rtpqdm2depay", 0,
+ "RTP QDM2 depayloader");
+
return gst_element_register (plugin, "rtpqdm2depay",
GST_RANK_MARGINAL, GST_TYPE_RTP_QDM2_DEPAY);
}
diff --git a/gst/rtp/gstrtpsv3vdepay.c b/gst/rtp/gstrtpsv3vdepay.c
index b9b03c2..c68ba72 100644
--- a/gst/rtp/gstrtpsv3vdepay.c
+++ b/gst/rtp/gstrtpsv3vdepay.c
@@ -26,6 +26,9 @@
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpsv3vdepay.h"
+GST_DEBUG_CATEGORY (rtpsv3vdepay_debug);
+#define GST_CAT_DEFAULT rtpsv3vdepay_debug
+
/* elementfactory information */
static const GstElementDetails gst_rtp_sv3vdepay_details =
GST_ELEMENT_DETAILS ("RTP SVQ3 depayloader",
@@ -319,6 +322,9 @@ gst_rtp_sv3v_depay_change_state (GstElement * element,
gboolean
gst_rtp_sv3v_depay_plugin_init (GstPlugin * plugin)
{
+ GST_DEBUG_CATEGORY_INIT (rtpsv3vdepay_debug, "rtpsv3vdepay", 0,
+ "RTP SV3V depayloader");
+
return gst_element_register (plugin, "rtpsv3vdepay",
GST_RANK_MARGINAL, GST_TYPE_RTP_SV3V_DEPAY);
}
More information about the Gstreamer-commits
mailing list