Fixed an issue where hidden videos would still play.

This commit is contained in:
Leon Styhre 2022-02-20 15:04:05 +01:00
parent 3795edb1b9
commit 73e0e59b8c

View file

@ -1217,6 +1217,9 @@ bool VideoFFmpegComponent::decoderInitHW()
void VideoFFmpegComponent::startVideoStream()
{
if (mThemeOpacity == 0.0f)
return;
mIsPlaying = true;
if (!mFormatContext) {