From fb9aeddfabf16b4c3e7805d2d0beca21686917d5 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 16 Sep 2024 20:17:30 +0200 Subject: [PATCH] Fixed an issue where attempting to view media for a game that had no downloaded media paused the playback of all static theme videos --- es-app/src/MediaViewer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/es-app/src/MediaViewer.cpp b/es-app/src/MediaViewer.cpp index 1d91eb41c..2c3a2f3b1 100644 --- a/es-app/src/MediaViewer.cpp +++ b/es-app/src/MediaViewer.cpp @@ -45,8 +45,6 @@ bool MediaViewer::startMediaViewer(FileData* game) mKeyRepeatDir = 0; mKeyRepeatTimer = 0; - ViewController::getInstance()->pauseViewVideos(); - mShowMediaTypes = Settings::getInstance()->getBool("MediaViewerShowTypes"); if (Settings::getInstance()->getString("MediaViewerHelpPrompts") == "disabled") @@ -69,6 +67,7 @@ bool MediaViewer::startMediaViewer(FileData* game) if (!mHasVideo && !mHasImages) return false; + ViewController::getInstance()->pauseViewVideos(); Window::getInstance()->stopInfoPopup(); HelpStyle style;