From 78e3f86292c133a96fd39842913674c27be059e4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 Jul 2018 23:03:45 +0100 Subject: Tweak debug message. --- src/lib/writer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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, -- cgit v1.2.3