17
0
Files
gstreamer-plugins-bad/spandsp3.patch
Takashi Iwai e3a6eba300 Accepting request 1251690 from home:jengelh:branches:multimedia:libs
- Add svt.patch to build with SVT-AV1 3.0.0 API.
- Modify spandsp3.patch to support both spandsp 0.x and spandsp 3.x.
- Delete fix-build-with-srt-1.3.4.patch since all supported
  Leap 15.X now have >=1.4.
- Trim idempotent %if..%endif guards.
- Use noun phrase for descriptions (not two noun phrases)

OBS-URL: https://build.opensuse.org/request/show/1251690
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-bad?expand=0&rev=447
2025-03-12 08:42:08 +00:00

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,