dv, opusparse: fix duplicate symbols in static build

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1262

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2673>
This commit is contained in:
Tim-Philipp Müller 2022-06-28 01:29:06 +01:00
parent 1d31f9acaf
commit f741543a3f
2 changed files with 4 additions and 1 deletions

View file

@ -26,6 +26,10 @@
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);

View 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'),