* [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-ldac/files/, media-plugins/gst-plugins-ldac/
@ 2022-03-08 13:48 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-03-08 13:48 UTC (permalink / raw
To: gentoo-commits
commit: bf13b79a72bafe2d1bbd9da5f5887beb451806f0
Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Sat Feb 26 17:44:25 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 8 13:47:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf13b79a
media-plugins/gst-plugins-ldac: Backport ldac payloader fix to 1.20.0
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24183
Signed-off-by: Sam James <sam <AT> gentoo.org>
| 30 ++++++++++++++++++++++
.../gst-plugins-ldac-1.20.0.ebuild | 5 ++++
2 files changed, 35 insertions(+)
--git a/media-plugins/gst-plugins-ldac/files/gst-plugins-ldac-1.20.0-ldac-payload-header.patch b/media-plugins/gst-plugins-ldac/files/gst-plugins-ldac-1.20.0-ldac-payload-header.patch
new file mode 100644
index 000000000000..c6ea9f451159
--- /dev/null
+++ b/media-plugins/gst-plugins-ldac/files/gst-plugins-ldac-1.20.0-ldac-payload-header.patch
@@ -0,0 +1,30 @@
+From 7c9a315578e464d9be09f6cebf1d9d073731cd86 Mon Sep 17 00:00:00 2001
+From: Sanchayan Maity <sanchayan@asymptotic.io>
+Date: Thu, 24 Feb 2022 20:26:46 +0530
+Subject: [PATCH] ldac: Set eqmid in caps
+
+We set the eqmid in caps to be usable downstream by rtpldacpay for
+knowing the frame count.
+
+Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1797>
+---
+ subprojects/gst-plugins-bad/ext/ldac/gstldacenc.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/ext/ldac/gstldacenc.c b/ext/ldac/gstldacenc.c
+index 9ca2ef8fbf..cd82ae1396 100644
+--- a/ext/ldac/gstldacenc.c
++++ b/ext/ldac/gstldacenc.c
+@@ -231,6 +231,9 @@ gst_ldac_enc_do_negotiate (GstAudioEncoder * audio_enc)
+ output_caps = gst_caps_fixate (output_caps);
+ gst_caps_set_simple (output_caps, "framed", G_TYPE_BOOLEAN, TRUE, NULL);
+
++ /* Set EQMID in caps to be used downstream by rtpldacpay */
++ gst_caps_set_simple (output_caps, "eqmid", G_TYPE_INT, enc->eqmid, NULL);
++
+ GST_INFO_OBJECT (enc, "output caps %" GST_PTR_FORMAT, output_caps);
+
+ if (enc->channels == 1)
+--
+GitLab
+
diff --git a/media-plugins/gst-plugins-ldac/gst-plugins-ldac-1.20.0.ebuild b/media-plugins/gst-plugins-ldac/gst-plugins-ldac-1.20.0.ebuild
index 49888fee6a01..fd93ab9645b1 100644
--- a/media-plugins/gst-plugins-ldac/gst-plugins-ldac-1.20.0.ebuild
+++ b/media-plugins/gst-plugins-ldac/gst-plugins-ldac-1.20.0.ebuild
@@ -11,3 +11,8 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="media-libs/libldac[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"
+
+# Fixes backported to 1.20.0, to be removed in 1.20.1
+PATCHES=(
+ "${FILESDIR}/gst-plugins-ldac-1.20.0-ldac-payload-header.patch"
+)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-08 13:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-08 13:48 [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-ldac/files/, media-plugins/gst-plugins-ldac/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox