Add some debugging.
authorCarl Hetherington <cth@carlh.net>
Tue, 20 Sep 2016 15:27:59 +0000 (16:27 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 20 Sep 2016 15:27:59 +0000 (16:27 +0100)
src/lib/reel_writer.cc

index 784eed1efb295d800dd84d6d092f3f1e9da80292..398c9c66d21d41def29be74c1e69abef43de05f4 100644 (file)
@@ -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);