diff --git a/0010-adjust-mpv-options-compatible-with-high-and-low-mpv-version.patch b/0010-adjust-mpv-options-compatible-with-high-and-low-mpv-version.patch index a1fe426ad81b88c40d8647db41604b27a2ed1da7..c30d8b9cae5216a623e18b36b124b03bdd0bf6fd 100644 --- a/0010-adjust-mpv-options-compatible-with-high-and-low-mpv-version.patch +++ b/0010-adjust-mpv-options-compatible-with-high-and-low-mpv-version.patch @@ -18,7 +18,7 @@ index 0e9d66f..ab9e3da 100755 + int cache = value.toInt(); + if (cache > 31) { + if (isOptionAvailable("--demuxer-max-bytes")) { -+ int byte = value.toString().toInt() * 1024; ++ int bytes = value.toString().toInt() * 1024; + arg << "--demuxer-max-bytes=" << QString::number(bytes); + }else { + arg << "--cache=" + value.toString(); diff --git a/nfs-mplayer.spec b/nfs-mplayer.spec index 78158a8f90147bdb5d9091c73e86d733cc818bf4..c4058d0dd22b057ea7334d90ebafb0a297566547 100644 --- a/nfs-mplayer.spec +++ b/nfs-mplayer.spec @@ -1,6 +1,6 @@ Name: nfs-mplayer Version: 1.0.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A great media player Group: Applications/Multimedia License: GPLv2+ @@ -117,6 +117,9 @@ update-desktop-database &> /dev/null || : %changelog +* Thu Oct 19 2023 ruizhe - 1.0.0-14 +- fix variable name error + * Wed Oct 18 2023 ruizhe - 1.0.0-13 - fix setting-dialog font style error