From 94efeb6120a99330d866ecafa9c0dabfd37da187 Mon Sep 17 00:00:00 2001 From: falsycat Date: Sun, 6 Oct 2019 00:00:00 +0000 Subject: [PATCH] [fix] Fixed an issue that ProcessOperation wouldn't be called when the operation is in first frame. --- sjplayer/src/sjplayer/ScheduledControllerInterface.d | 1 + 1 file changed, 1 insertion(+) diff --git a/sjplayer/src/sjplayer/ScheduledControllerInterface.d b/sjplayer/src/sjplayer/ScheduledControllerInterface.d index 1572c89..6e787d7 100644 --- a/sjplayer/src/sjplayer/ScheduledControllerInterface.d +++ b/sjplayer/src/sjplayer/ScheduledControllerInterface.d @@ -45,6 +45,7 @@ abstract class AbstractScheduledController : ScheduledControllerInterface { const next_operation = &operations_[next_operation_index_]; if (IsTimeInPeriod(time, next_operation.period)) { PrepareOperation(*next_operation); + ProcessOperation(*next_operation); ++next_operation_index_; } }