dv, opusparse: fix duplicate symbols in static build
authorTim-Philipp Müller <tim@centricular.com>
Tue, 28 Jun 2022 00:29:06 +0000 (01:29 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 28 Jun 2022 00:29:06 +0000 (01:29 +0100)
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1262

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2670>

subprojects/gst-plugins-bad/ext/opus/gstopusheader.h
subprojects/gst-plugins-good/ext/dv/meson.build

index 2a91c03..29005e0 100644 (file)
 
 G_BEGIN_DECLS
 
+#define gst_opus_header_is_header gst_opusparse_header_is_header
+#define gst_opus_header_is_id_header gst_opusparse_header_is_id_header
+#define gst_opus_header_is_comment_header gst_opusparse_header_is_comment_header
+
 extern gboolean gst_opus_header_is_header (GstBuffer * buf,
     const char *magic, guint magic_size);
 extern gboolean gst_opus_header_is_id_header (GstBuffer * buf);
index d6c0c07..a95bf48 100644 (file)
@@ -4,7 +4,6 @@ dv_sources = [
   'gstdvdec.c',
   'gstdvdemux.c',
   'gstsmptetimecode.c',
-  'smpte_test.c',
 ]
 
 dv_dep = dependency('libdv', version : '>= 0.100', required : get_option('dv'),