diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com> | 2020-07-01 17:51:36 +0200 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-07-01 20:02:35 +0000 |
commit | cedb07fe460501ecbed686bcaaa8c09dc695553f (patch) | |
tree | b35c9c3347b71cff793c9fac08336b961c537e75 /gst | |
parent | c6c4d42c4ae315f4650dee1c4262c23a38c6fb72 (diff) | |
download | gstreamer-plugins-bad-cedb07fe460501ecbed686bcaaa8c09dc695553f.tar.gz |
videoparsers: Give gstvideoparseutils.c a debug category
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1394>
Diffstat (limited to 'gst')
-rw-r--r-- | gst/videoparsers/gstvideoparseutils.c | 3 | ||||
-rw-r--r-- | gst/videoparsers/plugin.c | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gst/videoparsers/gstvideoparseutils.c b/gst/videoparsers/gstvideoparseutils.c index 745272745..a61f7c389 100644 --- a/gst/videoparsers/gstvideoparseutils.c +++ b/gst/videoparsers/gstvideoparseutils.c @@ -29,6 +29,9 @@ #include <gst/base/gstbitreader.h> #include <gstvideoparseutils.h> +GST_DEBUG_CATEGORY_EXTERN (videoparseutils_debug); +#define GST_CAT_DEFAULT videoparseutils_debug + static gboolean gst_video_parse_utils_parse_bar (const guint8 * data, gsize size, guint field, GstVideoBarData * bar); diff --git a/gst/videoparsers/plugin.c b/gst/videoparsers/plugin.c index 2deddf472..f4690c466 100644 --- a/gst/videoparsers/plugin.c +++ b/gst/videoparsers/plugin.c @@ -32,11 +32,16 @@ #include "gstvc1parse.h" #include "gsth265parse.h" +GST_DEBUG_CATEGORY (videoparseutils_debug); + static gboolean plugin_init (GstPlugin * plugin) { gboolean ret = FALSE; + GST_DEBUG_CATEGORY_INIT (videoparseutils_debug, "videoparseutils", 0, + "video parse utilities"); + ret |= gst_element_register (plugin, "h263parse", GST_RANK_PRIMARY + 1, GST_TYPE_H263_PARSE); ret |= gst_element_register (plugin, "h264parse", |