mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 23:15:38 +00:00
Improved the video player pause function while running in background.
This commit is contained in:
parent
083e0a12e9
commit
4ab296d8bb
|
@ -330,7 +330,7 @@ void VideoComponent::startVideoWithDelay()
|
||||||
|
|
||||||
void VideoComponent::handleStartDelay()
|
void VideoComponent::handleStartDelay()
|
||||||
{
|
{
|
||||||
if (mBlockPlayer)
|
if (mBlockPlayer || mGameLaunched)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Only play if any delay has timed out.
|
// Only play if any delay has timed out.
|
||||||
|
|
|
@ -321,7 +321,7 @@ void VideoVlcComponent::setAudioVolume()
|
||||||
|
|
||||||
void VideoVlcComponent::startVideo()
|
void VideoVlcComponent::startVideo()
|
||||||
{
|
{
|
||||||
if (!mIsPlaying) {
|
if (!mIsPlaying && !mGameLaunched) {
|
||||||
mVideoWidth = 0;
|
mVideoWidth = 0;
|
||||||
mVideoHeight = 0;
|
mVideoHeight = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue