adaptivedemux2: Prevent duplicate symbols on static builds
authorPiotr Brzeziński <piotr@centricular.com>
Tue, 14 Jun 2022 21:03:26 +0000 (23:03 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 15 Jun 2022 01:13:16 +0000 (01:13 +0000)
commit0a2c490723fecff3a93620cd3ef47f661fc041d4
tree90da6d67aa43985a4303c52323e68e7c743f9554
parentbb84a533bf6136e30d55d9b3c77ebc93fe2b33aa
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>
17 files changed:
subprojects/gst-plugins-good/ext/adaptivedemux2/dash/gstmpd-prelude.h [new file with mode: 0644]
subprojects/gst-plugins-good/ext/adaptivedemux2/dash/gstmpdhelper.h
subprojects/gst-plugins-good/ext/adaptivedemux2/dash/gstmpdnode.h
subprojects/gst-plugins-good/ext/adaptivedemux2/dash/gstmpdparser.h
subprojects/gst-plugins-good/ext/adaptivedemux2/dash/gstxmlhelper.h
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux.c
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlselement.c
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlselements.h
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/m3u8.c
subprojects/gst-plugins-good/ext/adaptivedemux2/mss/gstmss-prelude.h [new file with mode: 0644]
subprojects/gst-plugins-good/ext/adaptivedemux2/mss/gstmssdemux.c
subprojects/gst-plugins-good/ext/adaptivedemux2/mss/gstmssdemux.h
subprojects/gst-plugins-good/ext/adaptivedemux2/mss/gstmssfragmentparser.h
subprojects/gst-plugins-good/ext/adaptivedemux2/mss/gstmssmanifest.h
subprojects/gst-plugins-good/ext/soup/gstsouploader.c
subprojects/gst-plugins-good/ext/soup/gstsouploader.h
subprojects/gst-plugins-good/tests/check/elements/hlsdemux_m3u8.c