diff options
author | Andrzej Bieniek <andrzej.bieniek@pure.com> | 2012-10-31 16:17:48 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-10-31 16:17:48 +0000 |
commit | b8ba24e5eb4c7a95c6005c0cc3363fd7a18e7032 (patch) | |
tree | c66c60bfc140f8ac7326248a6b3ce60c65285f4d | |
parent | 2dbc11e77d0b08b018e2965a62c0e79ec324745f (diff) |
gstpay: add debug
-rw-r--r-- | gst/rtp/gstrtpgstpay.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpgstpay.c b/gst/rtp/gstrtpgstpay.c index 3f244bc4b..a6ce29fca 100644 --- a/gst/rtp/gstrtpgstpay.c +++ b/gst/rtp/gstrtpgstpay.c @@ -27,6 +27,9 @@ #include "gstrtpgstpay.h" +GST_DEBUG_CATEGORY_STATIC (gst_rtp_pay_debug); +#define GST_CAT_DEFAULT gst_rtp_pay_debug + /* * 0 1 2 3 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 @@ -100,6 +103,9 @@ gst_rtp_gst_pay_class_init (GstRtpGSTPayClass * klass) gstbasertppayload_class->set_caps = gst_rtp_gst_pay_setcaps; gstbasertppayload_class->handle_buffer = gst_rtp_gst_pay_handle_buffer; + + GST_DEBUG_CATEGORY_INIT (gst_rtp_pay_debug, "rtpgstpay", 0, + "rtpgstpay element"); } static void |