summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-02-20 11:51:56 +0000
committerTim-Philipp Müller <tim@centricular.com>2016-02-20 11:51:56 +0000
commit3333683f64d4a9c5d1fd7f388bc211c2e2a8cbd4 (patch)
treeb43a5027f8894b8dc40bcfc16a6391a3638625b3
parentf96c9eb6bc8e1cf0e6191e1acf525b19ca5000d4 (diff)
downloadgstreamer-plugins-good-3333683f64d4a9c5d1fd7f388bc211c2e2a8cbd4.tar.gz
v4l2: don't use undeclared core debug category symbols
-rw-r--r--sys/v4l2/gstv4l2bufferpool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
index fc456218f..c9648e261 100644
--- a/sys/v4l2/gstv4l2bufferpool.c
+++ b/sys/v4l2/gstv4l2bufferpool.c
@@ -47,7 +47,7 @@
#include <gst/glib-compat-private.h>
GST_DEBUG_CATEGORY_STATIC (v4l2bufferpool_debug);
-GST_DEBUG_CATEGORY_EXTERN (GST_CAT_PERFORMANCE);
+GST_DEBUG_CATEGORY_STATIC (CAT_PERFORMANCE);
#define GST_CAT_DEFAULT v4l2bufferpool_debug
#define GST_V4L2_IMPORT_QUARK gst_v4l2_buffer_pool_import_quark ()
@@ -152,8 +152,7 @@ gst_v4l2_buffer_pool_copy_buffer (GstV4l2BufferPool * pool, GstBuffer * dest,
gst_buffer_copy_into (dest, src,
GST_BUFFER_COPY_FLAGS | GST_BUFFER_COPY_TIMESTAMPS, 0, -1);
- GST_CAT_LOG_OBJECT (GST_CAT_PERFORMANCE, pool, "slow copy into buffer %p",
- dest);
+ GST_CAT_LOG_OBJECT (CAT_PERFORMANCE, pool, "slow copy into buffer %p", dest);
return GST_FLOW_OK;
@@ -1548,6 +1547,7 @@ gst_v4l2_buffer_pool_class_init (GstV4l2BufferPoolClass * klass)
GST_DEBUG_CATEGORY_INIT (v4l2bufferpool_debug, "v4l2bufferpool", 0,
"V4L2 Buffer Pool");
+ GST_DEBUG_CATEGORY_GET (CAT_PERFORMANCE, "GST_PERFORMANCE");
}
/**