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 b4655ba..a7e3218 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,