Accepting request 921126 from home:alarrosa:branches:multimedia:libs
- Update to version 0.3.37: * Highlights - Capture and playback is now avoided even more on unavailable devices. This should fix some issues where an unusable microphone was selected by default. It should now also again be possible to select an unavailable device as the default. - Native DSD audio playback is now supported. pw-cat can now also play DSF files with the -d option. - JACK stability improvements with buffer-size and samplerate changes in some apps. - Many cleanups and bugfixes all over the place. * PipeWire - pw-metadata -d does not cause an infinite loop anymore. (#1622) - Increase some plugin buffer sizes to fix some issues with many channels. (#1620) - Protect the global plugin list with a lock. Make sure pw_init() is locked. Fixes some issues with concurrent ALSA plugin usage. * media-session - Unavailable devices can be set as the default again. (#1624) - Do a better check if a device has available routes and avoid selecting devices with unavailable routes as default. - Media-session was moved to its own directory. It used to live in examples but it is past the example stage and it interferes with the build options for the real examples. * Bluetooth - The hardware quirk database is now loaded by the plugin instead of the session manager. This makes it also work with wireplumber. OBS-URL: https://build.opensuse.org/request/show/921126 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pipewire?expand=0&rev=19
This commit is contained in:
parent
b2cb607bbe
commit
8fa088e86b
@ -1,31 +0,0 @@
|
||||
From 39c8ed4f62172026036281691cd3b67b469a8629 Mon Sep 17 00:00:00 2001
|
||||
From: Pauli Virtanen <pav@iki.fi>
|
||||
Date: Thu, 16 Sep 2021 19:18:52 +0300
|
||||
Subject: [PATCH] media-session: don't use-after-free if linking node removed
|
||||
|
||||
Should fix an ASAN crash.
|
||||
---
|
||||
src/examples/media-session/policy-node.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/examples/media-session/policy-node.c b/src/examples/media-session/policy-node.c
|
||||
index d83613d0b..e273434fa 100644
|
||||
--- a/src/examples/media-session/policy-node.c
|
||||
+++ b/src/examples/media-session/policy-node.c
|
||||
@@ -869,6 +869,7 @@ static int link_nodes(struct node *node, struct node *peer)
|
||||
struct pw_properties *props;
|
||||
struct node *output, *input;
|
||||
int res;
|
||||
+ uint32_t node_id = node->id;
|
||||
|
||||
pw_log_debug(NAME " %p: link nodes %d %d remix:%d", impl,
|
||||
node->id, peer->id, !node->dont_remix);
|
||||
@@ -902,7 +903,7 @@ static int link_nodes(struct node *node, struct node *peer)
|
||||
|
||||
if (impl->linking_node_removed) {
|
||||
impl->linking_node_removed = false;
|
||||
- pw_log_info("linking node %d was removed", node->id);
|
||||
+ pw_log_info("linking node %d was removed", node_id);
|
||||
return -ENOENT;
|
||||
}
|
||||
node->linking = false;
|
@ -1,20 +0,0 @@
|
||||
From 10abcd92d76ddd02b690ff06d67c013bfc5fa5c2 Mon Sep 17 00:00:00 2001
|
||||
From: Wim Taymans <wtaymans@redhat.com>
|
||||
Date: Thu, 16 Sep 2021 17:57:47 +0200
|
||||
Subject: [PATCH] update version number as well
|
||||
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index c9b98c8ba..ea35ac674 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -1,5 +1,5 @@
|
||||
project('pipewire', ['c' ],
|
||||
- version : '0.3.35',
|
||||
+ version : '0.3.36',
|
||||
license : [ 'MIT', 'LGPL-2.1-or-later', 'GPL-2.0-only' ],
|
||||
meson_version : '>= 0.54.0',
|
||||
default_options : [ 'warning_level=3',
|
2
_service
2
_service
@ -3,7 +3,7 @@
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://gitlab.freedesktop.org/pipewire/pipewire.git</param>
|
||||
<param name="revision">refs/tags/0.3.36</param>
|
||||
<param name="revision">refs/tags/0.3.37</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f547907caf3ebe79c207de3649d3dc900f70c476292cbe6d6c9a02e01069a81f
|
||||
size 10341901
|
3
pipewire-0.3.37.obscpio
Normal file
3
pipewire-0.3.37.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:987bda6882f7ca78a31e74e17cbc85ea884eb7075ec0267848a2dac987e8ba32
|
||||
size 10380813
|
@ -1,3 +1,53 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 23 09:20:46 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Update to version 0.3.37:
|
||||
* Highlights
|
||||
- Capture and playback is now avoided even more on unavailable
|
||||
devices. This should fix some issues where an unusable
|
||||
microphone was selected by default. It should now also again
|
||||
be possible to select an unavailable device as the default.
|
||||
- Native DSD audio playback is now supported. pw-cat can now
|
||||
also play DSF files with the -d option.
|
||||
- JACK stability improvements with buffer-size and samplerate
|
||||
changes in some apps.
|
||||
- Many cleanups and bugfixes all over the place.
|
||||
* PipeWire
|
||||
- pw-metadata -d does not cause an infinite loop anymore.
|
||||
(#1622)
|
||||
- Increase some plugin buffer sizes to fix some issues with
|
||||
many channels. (#1620)
|
||||
- Protect the global plugin list with a lock. Make sure
|
||||
pw_init() is locked. Fixes some issues with concurrent ALSA
|
||||
plugin usage.
|
||||
* media-session
|
||||
- Unavailable devices can be set as the default again. (#1624)
|
||||
- Do a better check if a device has available routes and avoid
|
||||
selecting devices with unavailable routes as default.
|
||||
- Media-session was moved to its own directory. It used to live
|
||||
in examples but it is past the example stage and it
|
||||
interferes with the build options for the real examples.
|
||||
* Bluetooth
|
||||
- The hardware quirk database is now loaded by the plugin
|
||||
instead of the session manager. This makes it also work with
|
||||
wireplumber.
|
||||
* ALSA
|
||||
- The ALSA mixer now handles device removal much better.
|
||||
(#1627)
|
||||
* libcamera
|
||||
- Many fixes and improvement to the libcamera plugin. (#1513)
|
||||
* pulse-server
|
||||
- Improve compatibility with pulseaudio module arguments.
|
||||
- Parse channel_map arguments in module-loopback. (#1486)
|
||||
* JACK
|
||||
- Delay emiting the samplerate and buffersize callbacks until
|
||||
the client is active. This fixes some crashes with Carla and
|
||||
other JACK apps.
|
||||
|
||||
- Drop patches already included upstream:
|
||||
* 0001-media-session-dont-use-after-free-if-linking-node-removed.patch
|
||||
* 0002-update-version-number-as-well.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 20 06:51:15 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: pipewire
|
||||
version: 0.3.36
|
||||
mtime: 1631797736
|
||||
commit: 4997d47f63ed2c91d74bc8e5b229e57200354ee5
|
||||
version: 0.3.37
|
||||
mtime: 1632385039
|
||||
commit: c41e3553bf0a6b76d8949c081ba633f7a6343d19
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
||||
%endif
|
||||
|
||||
Name: pipewire
|
||||
Version: 0.3.36
|
||||
Version: 0.3.37
|
||||
Release: 0
|
||||
Summary: A Multimedia Framework designed to be an audio and video server and more
|
||||
License: MIT
|
||||
@ -53,10 +53,6 @@ URL: https://pipewire.org/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: %{name}-rpmlintrc
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch0: 0001-media-session-dont-use-after-free-if-linking-node-removed.patch
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch1: 0002-update-version-number-as-well.patch
|
||||
|
||||
BuildRequires: docutils
|
||||
BuildRequires: doxygen
|
||||
@ -538,7 +534,6 @@ fi
|
||||
%{_userunitdir}/pipewire-media-session.service
|
||||
%dir %{_datadir}/pipewire/media-session.d/
|
||||
%{_datadir}/pipewire/media-session.d/alsa-monitor.conf
|
||||
%{_datadir}/pipewire/media-session.d/bluez-hardware.conf
|
||||
%{_datadir}/pipewire/media-session.d/bluez-monitor.conf
|
||||
%{_datadir}/pipewire/media-session.d/media-session.conf
|
||||
%{_datadir}/pipewire/media-session.d/v4l2-monitor.conf
|
||||
@ -580,6 +575,7 @@ fi
|
||||
%{_bindir}/pw-cat
|
||||
%{_bindir}/pw-cli
|
||||
%{_bindir}/pw-dot
|
||||
%{_bindir}/pw-dsdplay
|
||||
%{_bindir}/pw-dump
|
||||
%{_bindir}/pw-loopback
|
||||
%{_bindir}/pw-link
|
||||
@ -702,6 +698,10 @@ fi
|
||||
%dir %{_libdir}/spa-%{spa_ver}/videotestsrc
|
||||
%dir %{_libdir}/spa-%{spa_ver}/test
|
||||
|
||||
%dir %{_datadir}/spa-%{spa_ver}
|
||||
%dir %{_datadir}/spa-%{spa_ver}/bluez5
|
||||
%{_datadir}/spa-%{spa_ver}/bluez5/bluez-hardware.conf
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libpipewire-%{apiver}.so
|
||||
%{_libdir}/pkgconfig/libpipewire-%{apiver}.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user