!34 fix Mplayer/mpv error

From: @tanyulong2021 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2022-02-24 10:58:00 +00:00 committed by Gitee
commit d0c0deeab4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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