rtpqdm2depay,rtpsv3vdepay: Add debugging category.

This commit is contained in:
Edward Hervey 2009-08-03 21:21:39 +02:00
parent 25c5514fab
commit 20c7977b9b
2 changed files with 12 additions and 0 deletions

View 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);
}

View 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);
}