mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 12:39:24 -05:00
Fix pause variable to be correct
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user