summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-09-02 15:52:55 -0500
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-09-05 11:50:05 +0000
commitcc026b37007884e2118b75fc81cca2c7e83ac0c4 (patch)
tree331ff4458576731ea9d2723acfc2f72498ec376c /recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp
parentf6460dd4364e5743e87fedcc3d5b2658f3908ecd (diff)
downloadmeta-freescale-cc026b37007884e2118b75fc81cca2c7e83ac0c4.tar.gz
pulseaudio: Fix gstreamer pause mutex issuebackport-1193-to-kirkstone
Add a patch to fix a mutex issue when pausing a gstreamer stream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 791b2cd871e670f2cd691aad21a1c9bcffc362d6)
Diffstat (limited to 'recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp')
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch32
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0100-pulseaudio-remove-the-control-for-speaker-headphone-widge.patch (renamed from recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch)0
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch
new file mode 100644
index 00000000..12a04cb7
--- /dev/null
+++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0001-Fix-pulseaudio-mutex-issue-when-do-pause-in-gstreame.patch
@@ -0,0 +1,32 @@
1From c21e24f5c53e81fc715905c54a6c82b69e397e63 Mon Sep 17 00:00:00 2001
2From: "shengjiu.wang" <b02247@freescale.com>
3Date: Thu, 3 Apr 2014 14:22:02 +0800
4Subject: [PATCH] Fix pulseaudio mutex issue when do pause in gstreamer
5
6The error log is "Assertion 'pthread_mutex_unlock(&m->mutex) == 0'
7failed at pulsecore/mutex-posix.c:106, function pa_mutex_unlock(). Aborting"
8
9This fix is a workaround base on the solution from this link "
10https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/932096"
11
12Upstream status: Inappropriate [i.MX specific]
13Signed-off-by: shengjiu.wang <b02247@freescale.com>
14---
15 src/pulsecore/mutex-posix.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/pulsecore/mutex-posix.c b/src/pulsecore/mutex-posix.c
19index 36c2787..d592501 100644
20--- a/src/pulsecore/mutex-posix.c
21+++ b/src/pulsecore/mutex-posix.c
22@@ -30,6 +30,7 @@
23 #include <pulsecore/macro.h>
24
25 #include "mutex.h"
26+#undef HAVE_PTHREAD_PRIO_INHERIT
27
28 struct pa_mutex {
29 pthread_mutex_t mutex;
30--
311.7.9.5
32
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0100-pulseaudio-remove-the-control-for-speaker-headphone-widge.patch
index 57c28741..57c28741 100644
--- a/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch
+++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/0100-pulseaudio-remove-the-control-for-speaker-headphone-widge.patch