mpegts: make accidentally exported debug category symbol private

Was never in header files, was just exported by accident because
of the gst_ prefix of the variable name.
This commit is contained in:
Tim-Philipp Müller 2017-08-11 14:39:07 +01:00
parent 2445021120
commit b77948d511
3 changed files with 4 additions and 6 deletions

View file

@ -26,8 +26,8 @@
G_BEGIN_DECLS
GST_DEBUG_CATEGORY_EXTERN (gst_mpegts_debug);
#define GST_CAT_DEFAULT gst_mpegts_debug
GST_DEBUG_CATEGORY_EXTERN (mpegts_debug);
#define GST_CAT_DEFAULT mpegts_debug
G_GNUC_INTERNAL void __initialize_descriptors (void);
G_GNUC_INTERNAL guint32 _calc_crc32 (const guint8 *data, guint datalen);

View file

@ -64,7 +64,7 @@
* * TSDT
*/
GST_DEBUG_CATEGORY (gst_mpegts_debug);
GST_DEBUG_CATEGORY (mpegts_debug);
static GQuark QUARK_PAT;
static GQuark QUARK_CAT;
@ -995,8 +995,7 @@ gst_mpegts_initialize (void)
if (_gst_mpegts_section_type)
return;
GST_DEBUG_CATEGORY_INIT (gst_mpegts_debug, "mpegts", 0,
"MPEG-TS helper library");
GST_DEBUG_CATEGORY_INIT (mpegts_debug, "mpegts", 0, "MPEG-TS helper library");
/* FIXME : Temporary hack to initialize section gtype */
_gst_mpegts_section_type = gst_mpegts_section_get_type ();

View file

@ -22,7 +22,6 @@ EXPORTS
gst_mpegts_component_descriptor_get_type
gst_mpegts_component_stream_content_get_type
gst_mpegts_content_nibble_hi_get_type
gst_mpegts_debug DATA
gst_mpegts_descriptor_free
gst_mpegts_descriptor_from_custom
gst_mpegts_descriptor_from_custom_with_extension