mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Fixed an issue where starting the media viewer did not pause fallback game videos
This commit is contained in:
parent
c15aa73de2
commit
f2952ecc28
|
@ -30,6 +30,8 @@ bool MediaViewer::startMediaViewer(FileData* game)
|
|||
mScreenshotIndex = -1;
|
||||
mTitleScreenIndex = -1;
|
||||
|
||||
ViewController::getInstance()->pauseViewVideos();
|
||||
|
||||
mShowMediaTypes = Settings::getInstance()->getBool("MediaViewerShowTypes");
|
||||
|
||||
if (Settings::getInstance()->getString("MediaViewerHelpPrompts") == "disabled")
|
||||
|
@ -280,7 +282,6 @@ void MediaViewer::playVideo()
|
|||
return;
|
||||
|
||||
mDisplayingImage = false;
|
||||
ViewController::getInstance()->pauseViewVideos();
|
||||
|
||||
mVideo = std::make_unique<VideoFFmpegComponent>();
|
||||
mVideo->setOrigin(0.5f, 0.5f);
|
||||
|
|
Loading…
Reference in a new issue