From: Carl Hetherington Date: Wed, 6 Nov 2019 21:27:04 +0000 (+0100) Subject: More logging when finding assets to put in reels. X-Git-Tag: v2.15.30~2 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=01eb94548560229dc9f633fff7d0602f04ae052c More logging when finding assets to put in reels. --- diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index a4172337e..716a52897 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -468,6 +468,8 @@ ReelWriter::create_reel (list const & refs, list reel_picture_asset; + LOG_GENERAL ("create_reel for %1-%2; %3 of %4", _period.from.get(), _period.to.get(), _reel_index, _reel_count); + if (_picture_asset) { /* We have made a picture asset of our own. Put it into the reel */ shared_ptr mono = dynamic_pointer_cast (_picture_asset); @@ -515,9 +517,13 @@ ReelWriter::create_reel (list const & refs, list k = dynamic_pointer_cast (j.asset); + if (k) { + LOG_GENERAL ("candidate sound asset period is %1-%2", j.period.from.get(), j.period.to.get()); + } if (k && j.period == _period) { reel_sound_asset = k; /* If we have a hash for this asset in the CPL, assume that it is correct */