summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-24 23:03:45 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-24 23:03:45 +0100
commit78e3f86292c133a96fd39842913674c27be059e4 (patch)
treec32602bf3a86bf3d5e5346d66b34208521f6fefb /src/lib
parent498b27d7846960833bb85c4f8ebea7f760285d23 (diff)
Tweak debug message.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index b4655baf9..a7e3218b5 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -435,7 +435,7 @@ try
DCPOMATIC_ASSERT (i != _queue.rend());
++_pushed_to_disk;
/* For the log message below */
- int const awaiting = _reels[_queue.front().reel].last_written_video_frame();
+ int const awaiting = _reels[_queue.front().reel].last_written_video_frame() + 1;
lock.unlock ();
/* i is valid here, even though we don't hold a lock on the mutex,