Control: tags 1144237 + patch
Control: tags 1144237 + pending

Dear maintainer,

I've prepared an NMU for alsa-plugins (versioned as 1.2.12-2.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

Cheers
-- 
Sebastian Ramacher
diffstat for alsa-plugins-1.2.12 alsa-plugins-1.2.12

 changelog                                              |    8 +++
 patches/eef274dbc890a21c2400c8bffdcbda243782627d.patch |   38 +++++++++++++++++
 patches/series                                         |    1 
 3 files changed, 47 insertions(+)

diff -Nru alsa-plugins-1.2.12/debian/changelog alsa-plugins-1.2.12/debian/changelog
--- alsa-plugins-1.2.12/debian/changelog	2024-07-01 17:06:18.000000000 +0200
+++ alsa-plugins-1.2.12/debian/changelog	2026-09-19 18:41:40.000000000 +0200
@@ -1,3 +1,11 @@
+alsa-plugins (1.2.12-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches: Apply upstream patch for ffmpeg 9.0 support (Closes:
+    #1144237)
+
+ -- Sebastian Ramacher <[email protected]>  Sat, 19 Sep 2026 18:41:40 +0200
+
 alsa-plugins (1.2.12-2) unstable; urgency=medium
 
   * Disable all special-casing for Ubuntu and build plugins that depend on
diff -Nru alsa-plugins-1.2.12/debian/patches/eef274dbc890a21c2400c8bffdcbda243782627d.patch alsa-plugins-1.2.12/debian/patches/eef274dbc890a21c2400c8bffdcbda243782627d.patch
--- alsa-plugins-1.2.12/debian/patches/eef274dbc890a21c2400c8bffdcbda243782627d.patch	1970-01-01 01:00:00.000000000 +0100
+++ alsa-plugins-1.2.12/debian/patches/eef274dbc890a21c2400c8bffdcbda243782627d.patch	2026-09-19 18:40:45.000000000 +0200
@@ -0,0 +1,38 @@
+From eef274dbc890a21c2400c8bffdcbda243782627d Mon Sep 17 00:00:00 2001
+From: Jaroslav Kysela <[email protected]>
+Date: Thu, 3 Sep 2026 14:38:05 +0200
+Subject: [PATCH] a52 plugin: AVSampleFormat fix for FFMPEG 9
+
+Fixes: https://github.com/alsa-project/alsa-plugins/issues/64
+Signed-off-by: Jaroslav Kysela <[email protected]>
+---
+ a52/pcm_a52.c | 15 +++++++++++++++
+ 1 file changed, 15 insertions(+)
+
+diff --git a/a52/pcm_a52.c b/a52/pcm_a52.c
+index cd56abb..bbd4f54 100644
+--- a/a52/pcm_a52.c
++++ b/a52/pcm_a52.c
+@@ -1202,7 +1202,22 @@ SND_PCM_PLUGIN_DEFINE_FUNC(a52)
+ 	rec->io.flags = SND_PCM_IOPLUG_FLAG_BOUNDARY_WA;
+ #endif
+ #ifdef USE_AVCODEC_FRAME
++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 13, 100)
++	{
++		const enum AVSampleFormat *sample_fmts = NULL;
++		err = avcodec_get_supported_config(NULL, rec->codec,
++						   AV_CODEC_CONFIG_SAMPLE_FORMAT,
++						   0, (const void **)&sample_fmts,
++						   NULL);
++		if (err < 0 || !sample_fmts) {
++			err = -EINVAL;
++			goto error;
++		}
++		rec->av_format = sample_fmts[0];
++	}
++#else
+ 	rec->av_format = rec->codec->sample_fmts[0];
++#endif
+ 	rec->is_planar = av_sample_fmt_is_planar(rec->av_format);
+ #else
+ 	rec->av_format = AV_SAMPLE_FMT_S16;
diff -Nru alsa-plugins-1.2.12/debian/patches/series alsa-plugins-1.2.12/debian/patches/series
--- alsa-plugins-1.2.12/debian/patches/series	2022-01-12 01:14:38.000000000 +0100
+++ alsa-plugins-1.2.12/debian/patches/series	2026-09-19 18:40:54.000000000 +0200
@@ -1 +1,2 @@
 arcam-av_uses_pthreads.patch
+eef274dbc890a21c2400c8bffdcbda243782627d.patch

Reply via email to