gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlselement.c
Piotr Brzeziński 0a2c490723 adaptivedemux2: Prevent duplicate symbols on static builds
Uses prelude header files with #defines to rename DASH and MSS
symbols duplicated in their old standalone versions.
Also redefines soup-related functions when building it for
adaptivedemux2 to prevent symbol conflicts there.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2534>
2022-06-15 01:13:16 +00:00

19 lines
345 B
C

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "gsthlselements.h"
GST_DEBUG_CATEGORY (hls2_debug);
void
hls2_element_init (void)
{
static gsize res = FALSE;
if (g_once_init_enter (&res)) {
GST_DEBUG_CATEGORY_INIT (hls2_debug, "hlsng", 0,
"HTTP Live Streaming (HLS) NG");
g_once_init_leave (&res, TRUE);
}
}