summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-09-20 16:27:59 +0100
committerCarl Hetherington <cth@carlh.net>2016-09-20 16:27:59 +0100
commit0c773648fc551eff21c56e25d347775ff71d2880 (patch)
tree1dcded5e6d9ebbc4a7e4f97939c365ab54a90cc8
parentd1b8e50dfb4c1e8fc2150ede6e0d14564704d097 (diff)
Add some debugging.
-rw-r--r--src/lib/reel_writer.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc
index 784eed1ef..398c9c66d 100644
--- a/src/lib/reel_writer.cc
+++ b/src/lib/reel_writer.cc
@@ -275,6 +275,7 @@ ReelWriter::finish ()
{
if (!_picture_asset_writer->finalize ()) {
/* Nothing was written to the picture asset */
+ LOG_GENERAL ("Nothing was written to reel %1 of %2", _reel_index, _reel_count);
_picture_asset.reset ();
}
@@ -352,6 +353,8 @@ ReelWriter::create_reel (list<ReferencedReelAsset> const & refs, list<shared_ptr
}
}
+ LOG_GENERAL ("create_reel for %1-%2; %3 of %4", _period.from.get(), _period.to.get(), _reel_index, _reel_count);
+
DCPOMATIC_ASSERT (reel_picture_asset);
reel->add (reel_picture_asset);