From 20c7977b9ba1c719be0a37a592d7daa365718449 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 3 Aug 2009 21:21:39 +0200 Subject: rtpqdm2depay,rtpsv3vdepay: Add debugging category. --- gst/rtp/gstrtpqdmdepay.c | 6 ++++++ gst/rtp/gstrtpsv3vdepay.c | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'gst/rtp') diff --git a/gst/rtp/gstrtpqdmdepay.c b/gst/rtp/gstrtpqdmdepay.c index 01ad4733..32aaff3e 100644 --- a/gst/rtp/gstrtpqdmdepay.c +++ b/gst/rtp/gstrtpqdmdepay.c @@ -26,6 +26,9 @@ #include #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 b9b03c24..c68ba72f 100644 --- a/gst/rtp/gstrtpsv3vdepay.c +++ b/gst/rtp/gstrtpsv3vdepay.c @@ -26,6 +26,9 @@ #include #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); } -- cgit