Fix build error on VideoWindow when building with Qt5 video

This bug was introduced by #3764
Fixes #3907
This commit is contained in:
Alejandro Martinez
2021-06-25 12:04:57 -03:00
parent 0243aedded
commit 6919ade54e

View File

@@ -222,7 +222,7 @@ bool VideoWindow::hasActiveVideo() const
}
#endif
#ifdef GC_VIDEO_QT5
if (LoadedMedia == mp->mediaStatus())
if (mp->state() != QMediaPlayer::StoppedState)
return true;
#endif