rtpqdm2depay,rtpsv3vdepay: Add debugging category.
authorEdward Hervey <bilboed@bilboed.com>
Mon, 3 Aug 2009 19:21:39 +0000 (21:21 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 3 Aug 2009 19:26:31 +0000 (21:26 +0200)
gst/rtp/gstrtpqdmdepay.c
gst/rtp/gstrtpsv3vdepay.c

index 01ad473..32aaff3 100644 (file)
@@ -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);
 }
index b9b03c2..c68ba72 100644 (file)
@@ -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);
 }