mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +00:00
libs: filter: use its own debug category
This commit is contained in:
parent
7663fa263c
commit
7b782be5dd
1 changed files with 10 additions and 4 deletions
|
@ -30,9 +30,6 @@
|
|||
#include "gstvaapisurface_priv.h"
|
||||
#include "gstvaapiutils_core.h"
|
||||
|
||||
#define DEBUG 1
|
||||
#include "gstvaapidebug.h"
|
||||
|
||||
#define GST_VAAPI_FILTER_CAST(obj) \
|
||||
((GstVaapiFilter *)(obj))
|
||||
|
||||
|
@ -80,7 +77,16 @@ struct _GstVaapiFilterClass
|
|||
GstObjectClass parent_class;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE (GstVaapiFilter, gst_vaapi_filter, GST_TYPE_OBJECT);
|
||||
/* Debug category for VaapiFilter */
|
||||
GST_DEBUG_CATEGORY (gst_debug_vaapi_filter);
|
||||
#define GST_CAT_DEFAULT gst_debug_vaapi_filter
|
||||
|
||||
#define _do_init \
|
||||
GST_DEBUG_CATEGORY_INIT (gst_debug_vaapi_filter, "vaapifilter", 0, \
|
||||
"VA-API Filter");
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (GstVaapiFilter, gst_vaapi_filter, GST_TYPE_OBJECT,
|
||||
_do_init);
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* --- VPP Types --- */
|
||||
|
|
Loading…
Reference in a new issue