fix Mplayer/mpv error

This commit is contained in:
tanyulong2021 2022-02-24 17:51:35 +08:00
parent 2d50d85e8a
commit 4b598d3230
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,7 @@ index 722a639..7cdf14e 100755
set -e
+# probe to test if autospawn works, else resort to starting manually
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
+@PACTL_BINARY@ info > /dev/null 2>&1 || /usr/bin/pulseaudio --start "$@"
+
if [ -n "$1" ] ; then
case $1 in

View File

@ -6,7 +6,7 @@
Name: pulseaudio
Summary: Improved Linux Sound Server
Version: 15.0
Release: 3
Release: 4
License: LGPLv2+
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
@ -233,6 +233,9 @@ exit 0
%{_datadir}/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml
%changelog
* Thu Feb 24 2022 tanyulong <tanyulong@kylinos.cn> - 15.0-4
- fix Mplayer/mpv error
* Mon Jan 17 2021 zhouwenpei <zhouwenpei1@huawei.com> - 15.0-3
- remove dependency on GConf2 package