summaryrefslogtreecommitdiff
path: root/ext/opus
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2018-03-25 12:52:32 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-03-25 12:53:53 +0300
commit52ebbd55b2fb15d2e5139cf867b5c1cb772bf8a4 (patch)
tree4feb2e1d45a4a4bd942d849e40599bd464a2e5a3 /ext/opus
parentadd2c0c35a8c0912dfc30b45f50b82f14081f2e7 (diff)
downloadgstreamer-plugins-bad-52ebbd55b2fb15d2e5139cf867b5c1cb772bf8a4.tar.gz
opus: Rename opusheader functions to prevent symbol conflicts with static linking
The opus plugin in -base has the same functions.
Diffstat (limited to 'ext/opus')
-rw-r--r--ext/opus/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/opus/Makefile.am b/ext/opus/Makefile.am
index 81a60a421..d0cc4ea64 100644
--- a/ext/opus/Makefile.am
+++ b/ext/opus/Makefile.am
@@ -6,7 +6,10 @@ libgstopusparse_la_CFLAGS = \
$(GST_PLUGINS_BAD_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS) \
- $(OPUS_CFLAGS)
+ $(OPUS_CFLAGS) \
+ -Dgst_opus_header_is_header=gst_opus_bad_header_is_header \
+ -Dgst_opus_header_is_id_header=gst_opus_bad_header_is_id_header \
+ -Dgst_opus_header_is_comment_header=gst_opus_bad_header_is_comment_header
libgstopusparse_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \
-lgsttag-$(GST_API_VERSION) \