Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++

ps5-control: do not restart while the capture run is stopping; "Pair…" label

Veyra Goal Agenta7d8598fe7c6
diff --git a/i18n/catalog.json b/i18n/catalog.json
index 15e78e71..2ef5f454 100644
--- a/i18n/catalog.json
+++ b/i18n/catalog.json
@@ -16351,7 +16351,7 @@
"zh": "配对…",
"src": "qml/DialogHost.qml",
"zh-TW": "配對…",
- "en": "Pairing…",
+ "en": "Pair…",
"ja": "ペアリング…"
},
{
diff --git a/src/ui/QmlPlayerBridge.cpp b/src/ui/QmlPlayerBridge.cpp
index 39bfc179..4e8a7dce 100644
--- a/src/ui/QmlPlayerBridge.cpp
+++ b/src/ui/QmlPlayerBridge.cpp
@@ -3387,9 +3387,13 @@ QVariantMap QmlPlayerBridge::ps5Control() const {
// leaves it alone but does not set snapshot.capture.
bool QmlPlayerBridge::captureCardLive() const {
const auto& s = impl_->snapshot;
+ // Not while Stopping: after 断开 the run keeps `running` until it has torn
+ // down, and the tick would start PS5 手柄控制 again in that window.
+ const bool playing = s.running && !s.image && !s.remotePlay &&
+ (s.transport == engine::TransportState::Playing || s.transport == engine::TransportState::Paused);
// Tests only: any playing source stands in for the capture card (no card needed).
- if (s.running && !s.image && !s.remotePlay && qEnvironmentVariableIsSet("VEYRA_TEST_PS5_CONTROL_ANY_SOURCE")) return true;
- return impl_->liveKind == QLatin1String("capture") && s.running && s.capture && !s.image && !s.remotePlay;
+ if (playing && qEnvironmentVariableIsSet("VEYRA_TEST_PS5_CONTROL_ANY_SOURCE")) return true;
+ return playing && s.capture && impl_->liveKind == QLatin1String("capture");
}
void QmlPlayerBridge::ps5ControlSet(const QString& key, const QVariant& value) {
static const QHash<QString, QString> keys{{QStringLiteral("enabled"), QStringLiteral("ps5CaptureControl")},