Commit 24450211 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

codecparsers: make debug categories static

They're only used internally. The VP9 parser's debug
category symbol was accidentally exported.
parent a5229c30
......@@ -80,7 +80,7 @@
#include <gst/base/gstbitreader.h>
#include <string.h>
GST_DEBUG_CATEGORY (h264_parser_debug);
GST_DEBUG_CATEGORY_STATIC (h264_parser_debug);
#define GST_CAT_DEFAULT h264_parser_debug
static gboolean initialized = FALSE;
......
......@@ -72,7 +72,7 @@
#include <string.h>
#include <math.h>
GST_DEBUG_CATEGORY (h265_parser_debug);
GST_DEBUG_CATEGORY_STATIC (h265_parser_debug);
#define GST_CAT_DEFAULT h265_parser_debug
static gboolean initialized = FALSE;
......
......@@ -24,7 +24,7 @@
#include "gstmpegvideometa.h"
GST_DEBUG_CATEGORY (mpegv_meta_debug);
GST_DEBUG_CATEGORY_STATIC (mpegv_meta_debug);
#define GST_CAT_DEFAULT mpegv_meta_debug
static gboolean
......
......@@ -119,7 +119,7 @@ static const VLCTable mpeg2_mbaddr_vlc_table[] = {
{GST_MPEG_VIDEO_MACROBLOCK_ESCAPE, 0x08, 11}
};
GST_DEBUG_CATEGORY (mpegvideo_parser_debug);
GST_DEBUG_CATEGORY_STATIC (mpegvideo_parser_debug);
#define GST_CAT_DEFAULT mpegvideo_parser_debug
#define INITIALIZE_DEBUG_CATEGORY \
......
......@@ -39,7 +39,7 @@
#include "gstvp8rangedecoder.h"
#include "vp8utils.h"
GST_DEBUG_CATEGORY (vp8_parser_debug);
GST_DEBUG_CATEGORY_STATIC (vp8_parser_debug);
#define GST_CAT_DEFAULT vp8_parser_debug
#define INITIALIZE_DEBUG_CATEGORY ensure_debug_category ()
......
......@@ -45,7 +45,7 @@
/* order of sb64, where sb64 = 64x64 */
#define ALIGN_SB64(w) ((w + 63) >> 6)
GST_DEBUG_CATEGORY (gst_vp9_parser_debug);
GST_DEBUG_CATEGORY_STATIC (gst_vp9_parser_debug);
#define GST_CAT_DEFAULT gst_vp9_parser_debug
static gboolean initialized = FALSE;
......
......@@ -115,7 +115,6 @@ EXPORTS
gst_vp8_range_decoder_init
gst_vp8_range_decoder_read
gst_vp8_range_decoder_read_literal
gst_vp9_parser_debug DATA
gst_vp9_parser_free
gst_vp9_parser_new
gst_vp9_parser_parse_frame_header
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment