mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
videoscale: fix debug categories
Use a local category for the default category and fix the import for the performance category.
This commit is contained in:
parent
91f2f1874c
commit
68c5adec38
2 changed files with 3 additions and 6 deletions
|
@ -78,9 +78,9 @@
|
||||||
|
|
||||||
#include "gstvideoscale.h"
|
#include "gstvideoscale.h"
|
||||||
|
|
||||||
/* debug variable definition */
|
#define GST_CAT_DEFAULT video_scale_debug
|
||||||
GST_DEBUG_CATEGORY (video_scale_debug);
|
GST_DEBUG_CATEGORY_STATIC (video_scale_debug);
|
||||||
GST_DEBUG_CATEGORY_STATIC (GST_CAT_PERFORMANCE);
|
GST_DEBUG_CATEGORY_EXTERN (GST_CAT_PERFORMANCE);
|
||||||
|
|
||||||
#define DEFAULT_PROP_METHOD GST_VIDEO_SCALE_BILINEAR
|
#define DEFAULT_PROP_METHOD GST_VIDEO_SCALE_BILINEAR
|
||||||
#define DEFAULT_PROP_ADD_BORDERS TRUE
|
#define DEFAULT_PROP_ADD_BORDERS TRUE
|
||||||
|
|
|
@ -26,9 +26,6 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_EXTERN (video_scale_debug);
|
|
||||||
#define GST_CAT_DEFAULT video_scale_debug
|
|
||||||
|
|
||||||
#define GST_TYPE_VIDEO_SCALE \
|
#define GST_TYPE_VIDEO_SCALE \
|
||||||
(gst_video_scale_get_type())
|
(gst_video_scale_get_type())
|
||||||
#define GST_VIDEO_SCALE(obj) \
|
#define GST_VIDEO_SCALE(obj) \
|
||||||
|
|
Loading…
Reference in a new issue