From 52ebbd55b2fb15d2e5139cf867b5c1cb772bf8a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 25 Mar 2018 12:52:32 +0300 Subject: opus: Rename opusheader functions to prevent symbol conflicts with static linking The opus plugin in -base has the same functions. --- ext/opus/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/opus') 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) \ -- cgit v1.2.1