flvdemux: Actually make use of the debug category
authorSebastian Dröge <sebastian@centricular.com>
Sat, 4 Jun 2022 07:27:09 +0000 (10:27 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 6 Jun 2022 14:36:41 +0000 (14:36 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2552>

subprojects/gst-plugins-good/gst/flv/gstflvdemux.c
subprojects/gst-plugins-good/gst/flv/gstflvelement.c

index 51dee81..29db7b9 100644 (file)
@@ -48,6 +48,9 @@
 #include <gst/video/video.h>
 #include <gst/tag/tag.h>
 
+GST_DEBUG_CATEGORY_EXTERN (flvdemux_debug);
+#define GST_CAT_DEFAULT flvdemux_debug
+
 /* FIXME: don't rely on own GstIndex */
 #include "gstindex.c"
 #include "gstmemindex.c"
index 3028a5e..08a3d76 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "gstflvelements.h"
 
-GST_DEBUG_CATEGORY_STATIC (flvdemux_debug);
+GST_DEBUG_CATEGORY (flvdemux_debug);
 #define GST_CAT_DEFAULT flvdemux_debug
 
 void