summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-15 22:26:34 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-15 22:26:34 +0100
commit744b6a777cca4eecc39c81a80507507ec425d080 (patch)
tree5c46efb7ba35391da82a82ef7b811e1f9a130734 /src/tools
parentd0555983d175e76585b2409d982e09f444eab391 (diff)
Comments.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_player.cc3
1 files changed, 3 insertions, 0 deletions
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<Command> _commands;
list<Command>::const_iterator _current_command;
+ /** Remaining time that the script must wait, in milliseconds */
optional<int> _wait_remaining;
#endif
};