codecparsers: make debug categories static

They're only used internally. The VP9 parser's debug
category symbol was accidentally exported.
This commit is contained in:
Tim-Philipp Müller 2017-08-11 14:21:05 +01:00
parent a5229c3098
commit 2445021120
7 changed files with 6 additions and 7 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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

View file

@ -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 \

View file

@ -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 ()

View file

@ -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;

View file

@ -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