diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-01-29 23:51:52 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-01-29 23:51:52 +0000 |
| commit | 310f2c805524e252f514b03f8e52fe05b7016a0a (patch) | |
| tree | c6d5e836afd48ef82f4be01d9122b6f1a9b22d96 | |
| parent | b3234e76d2f614c2b05034c0bdae8d5a4e9de9ea (diff) | |
Better debug log message.
| -rw-r--r-- | src/lib/writer.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index c0dbf0562..49ba41a64 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -379,6 +379,8 @@ 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(); lock.unlock (); /* i is valid here, even though we don't hold a lock on the mutex, @@ -386,7 +388,7 @@ try thread could erase the last item in the list. */ - LOG_GENERAL ("Writer full; pushes %1 to disk", i->frame); + LOG_GENERAL ("Writer full; pushes %1 to disk while awaiting %2", i->frame, awaiting); i->encoded->write_via_temp ( _film->j2c_path (i->reel, i->frame, i->eyes, true), |
