Fixed an issue where videos would sometimes not start after using the media viewer.

This commit is contained in:
Leon Styhre 2021-05-29 10:51:29 +02:00
parent ce6eed6c3a
commit 17fec1aac7

View file

@ -243,6 +243,7 @@ void MediaViewer::playVideo()
return;
mDisplayingImage = false;
ViewController::get()->onStopVideo();
if (Settings::getInstance()->getString("VideoPlayer") == "ffmpeg")
mVideo = new VideoFFmpegComponent(mWindow);