Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 调整机型检测策略,更新changelog #440

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
deepin-movie-reborn (5.10.48) unstable; urgency=medium

* New version 5.10.48
* fix: yuv444p format uses software decoding (Bug: 247589)
* fix: sw jmgpu uses hardware decoding (Bug: 240393)
* fix: cropped rounded corners exist during full-screen playback (Bug: 247735)
* fix: pause icon still displayed when minimized (Bug: 247791)
* fix: HW device hardware decoding detection adjustment (Bug: 249087)
* fix: Adjust device detection strategy (Bug: 249087)

-- renbin <[email protected]> Wed, 03 Apr 2024 14:56:28 +0800

deepin-movie-reborn (5.10.47) unstable; urgency=medium

* New version 5.10.47
Expand Down
6 changes: 3 additions & 3 deletions src/backends/mpv/mpv_proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ bool isSpecialHWHardware()
return false;
}

QStringList specilDev{"KLVV", "KLVU", "PGUV", "PGUW", "PGUX", "L540", "W585"};
QStringList specilDev{"KLVV", "KLVU", "PGUV", "PGUW", "L540", "W585"};
for (const QString &dev : specilDev) {
if (info.contains(dev)) {
s_DevType = IsHWDev;
Expand All @@ -748,10 +748,10 @@ bool isSpecialHWHardware()

if (NotHWDev == s_DevType) {
// dmidecode | grep -i “String 4”中的值来区分主板类型,PWC30表示PanguW(也就是W525)
process.start("bash", {"-c", "dmidecode | grep -i \"String 4\""});
process.start("bash", {"-c", "dmidecode -t 11 | grep -i \"String 4\""});
process.waitForFinished(100);
info = process.readAll();
if (info.contains("PWC30")) {
if (info.contains("PWC30") || info.contains("PGUX")) {
s_DevType = IsHWDev;
}
}
Expand Down
Loading