projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b3234e7
)
Better debug log message.
author
Carl Hetherington
<cth@carlh.net>
Sun, 29 Jan 2017 23:51:52 +0000
(23:51 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 29 Jan 2017 23:51:52 +0000
(23:51 +0000)
src/lib/writer.cc
patch
|
blob
|
history
diff --git
a/src/lib/writer.cc
b/src/lib/writer.cc
index c0dbf0562631de24d2d5b1fdfbbc78aa340375a6..49ba41a64c34d74fbc82c418f81f9e1b221aa17f 100644
(file)
--- a/
src/lib/writer.cc
+++ b/
src/lib/writer.cc
@@
-379,6
+379,8
@@
try
DCPOMATIC_ASSERT (i != _queue.rend());
++_pushed_to_disk;
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,
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.
*/
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),
i->encoded->write_via_temp (
_film->j2c_path (i->reel, i->frame, i->eyes, true),