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: test-only switch letting a playing file stand in for the capture card
Veyra Goal Agentf6ec60c8c82b
diff --git a/src/ui/QmlPlayerBridge.cpp b/src/ui/QmlPlayerBridge.cppindex 3c567bc1..39bfc179 100644--- a/src/ui/QmlPlayerBridge.cpp+++ b/src/ui/QmlPlayerBridge.cpp@@ -3387,6 +3387,8 @@ QVariantMap QmlPlayerBridge::ps5Control() const {// leaves it alone but does not set snapshot.capture.bool QmlPlayerBridge::captureCardLive() const {const auto& s = impl_->snapshot;+ // 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;}void QmlPlayerBridge::ps5ControlSet(const QString& key, const QVariant& value) {