gstreamer-plugins-bad/spandsp3.patch

25 lines
784 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2022-04-10 13:08:44.803090340 +0200
Make the build with spandsp-3.x succeed again.
---
ext/spandsp/gstspanplc.c | 1 +
1 file changed, 1 insertion(+)
Index: gst-plugins-bad-1.20.1/ext/spandsp/gstspanplc.c
===================================================================
--- gst-plugins-bad-1.20.1.orig/ext/spandsp/gstspanplc.c
+++ gst-plugins-bad-1.20.1/ext/spandsp/gstspanplc.c
@@ -36,6 +36,10 @@
#include "gstspanplc.h"
#include <gst/audio/audio.h>
+#include <spandsp/version.h>
+#if defined(SPANDSP_RELEASE_DATE) && SPANDSP_RELEASE_DATE >= 20120902
+#include <spandsp/private/plc.h>
+#endif
G_DEFINE_TYPE (GstSpanPlc, gst_span_plc, GST_TYPE_ELEMENT);
GST_ELEMENT_REGISTER_DEFINE (spanplc, "spanplc", GST_RANK_PRIMARY,