From 744b6a777cca4eecc39c81a80507507ec425d080 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 15 Mar 2020 22:26:34 +0100 Subject: [PATCH] Comments. --- src/tools/dcpomatic_player.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index ae1bc4c81..cb81c5b89 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -101,6 +101,7 @@ using dcp::raw_convert; using namespace dcpomatic; #ifdef DCPOMATIC_PLAYER_STRESS_TEST +/* Interval to check what to do next with the stress checker, in milliseconds */ #define STRESS_TEST_CHECK_INTERVAL 20 class Command @@ -336,6 +337,7 @@ public: ++_current_command; break; case Command::WAIT: + /* int_param here is the number of milliseconds to wait */ if (_wait_remaining) { _wait_remaining = *_wait_remaining - STRESS_TEST_CHECK_INTERVAL; if (_wait_remaining < 0) { @@ -1138,6 +1140,7 @@ private: wxTimer _timer; list _commands; list::const_iterator _current_command; + /** Remaining time that the script must wait, in milliseconds */ optional _wait_remaining; #endif }; -- 2.30.2