summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-08-11 14:21:05 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-08-11 14:34:34 +0100
commit2445021120cf64e8fc830d2849bd145169924173 (patch)
tree1c7432767e7061b3367927642ea8ce4179adfada
parenta5229c3098ab8e90e12fc879ea86a55f14d1164c (diff)
downloadgstreamer-plugins-bad-2445021120cf64e8fc830d2849bd145169924173.tar.gz
codecparsers: make debug categories static
They're only used internally. The VP9 parser's debug category symbol was accidentally exported.
-rw-r--r--gst-libs/gst/codecparsers/gsth264parser.c2
-rw-r--r--gst-libs/gst/codecparsers/gsth265parser.c2
-rw-r--r--gst-libs/gst/codecparsers/gstmpegvideometa.c2
-rw-r--r--gst-libs/gst/codecparsers/gstmpegvideoparser.c2
-rw-r--r--gst-libs/gst/codecparsers/gstvp8parser.c2
-rw-r--r--gst-libs/gst/codecparsers/gstvp9parser.c2
-rw-r--r--win32/common/libgstcodecparsers.def1
7 files changed, 6 insertions, 7 deletions
diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c
index 86c5e44cc..3b3ba7488 100644
--- a/gst-libs/gst/codecparsers/gsth264parser.c
+++ b/gst-libs/gst/codecparsers/gsth264parser.c
@@ -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;
diff --git a/gst-libs/gst/codecparsers/gsth265parser.c b/gst-libs/gst/codecparsers/gsth265parser.c
index fd56f15d0..e7d56be9c 100644
--- a/gst-libs/gst/codecparsers/gsth265parser.c
+++ b/gst-libs/gst/codecparsers/gsth265parser.c
@@ -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;
diff --git a/gst-libs/gst/codecparsers/gstmpegvideometa.c b/gst-libs/gst/codecparsers/gstmpegvideometa.c
index 0e833adea..4b9a71bac 100644
--- a/gst-libs/gst/codecparsers/gstmpegvideometa.c
+++ b/gst-libs/gst/codecparsers/gstmpegvideometa.c
@@ -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
diff --git a/gst-libs/gst/codecparsers/gstmpegvideoparser.c b/gst-libs/gst/codecparsers/gstmpegvideoparser.c
index 6f1b49419..a9d575ff2 100644
--- a/gst-libs/gst/codecparsers/gstmpegvideoparser.c
+++ b/gst-libs/gst/codecparsers/gstmpegvideoparser.c
@@ -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 \
diff --git a/gst-libs/gst/codecparsers/gstvp8parser.c b/gst-libs/gst/codecparsers/gstvp8parser.c
index 7a13a89da..ee9185865 100644
--- a/gst-libs/gst/codecparsers/gstvp8parser.c
+++ b/gst-libs/gst/codecparsers/gstvp8parser.c
@@ -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 ()
diff --git a/gst-libs/gst/codecparsers/gstvp9parser.c b/gst-libs/gst/codecparsers/gstvp9parser.c
index 66e40db5c..49cf17147 100644
--- a/gst-libs/gst/codecparsers/gstvp9parser.c
+++ b/gst-libs/gst/codecparsers/gstvp9parser.c
@@ -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;
diff --git a/win32/common/libgstcodecparsers.def b/win32/common/libgstcodecparsers.def
index fc5889892..4e3cfa208 100644
--- a/win32/common/libgstcodecparsers.def
+++ b/win32/common/libgstcodecparsers.def
@@ -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