mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
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:
parent
c6c4d42c4a
commit
cedb07fe46
2 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue