From 95b1d4bf39fdc21f3512353687cd34b435c4b564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 20 Feb 2016 12:55:08 +0000 Subject: daala: don't use exported but undeclared core debug category symbols It's not right and won't work on Windows with MSVC. --- ext/daala/gstdaaladec.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ext/daala/gstdaaladec.c b/ext/daala/gstdaaladec.c index 085685c6d..d40537d3a 100644 --- a/ext/daala/gstdaaladec.c +++ b/ext/daala/gstdaaladec.c @@ -50,8 +50,8 @@ #include #define GST_CAT_DEFAULT daaladec_debug -GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); -GST_DEBUG_CATEGORY_EXTERN (GST_CAT_PERFORMANCE); +GST_DEBUG_CATEGORY_STATIC (daaladec_debug); +GST_DEBUG_CATEGORY_STATIC (CAT_PERFORMANCE); /* This was removed from the base class, this is used as a temporary return to signal the need to call _drop_frame, @@ -122,6 +122,7 @@ gst_daala_dec_class_init (GstDaalaDecClass * klass) GST_DEBUG_FUNCPTR (daala_dec_decide_allocation); GST_DEBUG_CATEGORY_INIT (daaladec_debug, "daaladec", 0, "Daala decoder"); + GST_DEBUG_CATEGIRY_GET (CAT_PERFORMANCE, "GST_PERFORMANCE"); } static void @@ -449,7 +450,7 @@ daala_handle_image (GstDaalaDec * dec, od_img * img, GstVideoCodecFrame * frame) } /* if only libdaala would allow us to give it a destination frame */ - GST_CAT_TRACE_OBJECT (GST_CAT_PERFORMANCE, dec, + GST_CAT_TRACE_OBJECT (CAT_PERFORMANCE, dec, "doing unavoidable video frame copy"); if (G_UNLIKELY (!gst_video_frame_map (&vframe, &dec->output_state->info, -- cgit v1.2.1