Tweak debug message.
authorCarl Hetherington <cth@carlh.net>
Tue, 24 Jul 2018 22:03:45 +0000 (23:03 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 24 Jul 2018 22:03:45 +0000 (23:03 +0100)
src/lib/writer.cc

index b4655baf98ff46af6181a079b3d68a5bda3c327c..a7e3218b5326396417faf7e7b63bb207456c2024 100644 (file)
@@ -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,