videoparsers: Give gstvideoparseutils.c a debug category

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1394>
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-07-01 17:51:36 +02:00 committed by GStreamer Merge Bot
parent c6c4d42c4a
commit cedb07fe46
2 changed files with 8 additions and 0 deletions

View file

@ -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);

View file

@ -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",