Fix pause variable to be correct

This commit is contained in:
Ylva Selling
2023-02-22 15:08:48 -05:00
parent 6f0b7fbb53
commit ce95fedf0f
+2 -1
View File
@@ -716,7 +716,8 @@ void VideoPlayer::handleMpvProperties(mpv_event* event) {
}
case MpvKey::Pause: {
int* videoIsPaused = reinterpret_cast<int*>(prop->data);
_isPaused = *videoIsPaused == 0;
_isPaused = *videoIsPaused == 1;
LINFO(fmt::format("Is Paused: {}", _isPaused));
break;
}
case MpvKey::Meta: {