From c3f7a2cfdf876ff0980e2838c5dbc65ad998404a Mon Sep 17 00:00:00 2001 From: kamel5 Date: Mon, 8 Feb 2021 15:22:40 +0100 Subject: Fixed a bug in timeshift mode that prevented the progress bar from updating in pause mode --- coreengine/viewelementsdisplayreplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coreengine/viewelementsdisplayreplay.c') diff --git a/coreengine/viewelementsdisplayreplay.c b/coreengine/viewelementsdisplayreplay.c index 6cd4b25..9249d37 100644 --- a/coreengine/viewelementsdisplayreplay.c +++ b/coreengine/viewelementsdisplayreplay.c @@ -273,7 +273,7 @@ void cVeDrProgressBar::SetTokenContainer(void) { } void cVeDrProgressBar::Set(int current, int total, bool timeshiftActive, int timeshiftTotal) { - if (this->current == current) + if (!(this->current != current || this->total != total)) return; this->current = current; this->total = total; @@ -595,7 +595,7 @@ void cVeDrProgressModeonly::SetTokenContainer(void) { } void cVeDrProgressModeonly::Set(double fps, int current, int total) { - if (this->current == current) + if (!(this->current != current || this->total != total)) return; this->fps = fps; this->current = current; -- cgit v1.2.3