From 4f8195575812f1d563b0ee1e480be5c7f248ce42 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 May 2017 00:23:06 +0100 Subject: Fix incorrect asserts. --- src/lib/reel_writer.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc index d05e3901e..da79dfc04 100644 --- a/src/lib/reel_writer.cc +++ b/src/lib/reel_writer.cc @@ -361,7 +361,7 @@ ReelWriter::create_reel (list const & refs, listintrinsic_duration() == _period.duration().frames_round (_film->video_frame_rate ())); + DCPOMATIC_ASSERT (reel_picture_asset->duration() == _period.duration().frames_round (_film->video_frame_rate ())); reel->add (reel_picture_asset); /* If we have a hash for this asset in the CPL, assume that it is correct */ @@ -389,7 +389,7 @@ ReelWriter::create_reel (list const & refs, listintrinsic_duration() == _period.duration().frames_round (_film->video_frame_rate ())); + DCPOMATIC_ASSERT (reel_sound_asset->duration() == _period.duration().frames_round (_film->video_frame_rate ())); reel->add (reel_sound_asset); shared_ptr reel_subtitle_asset; @@ -457,7 +457,7 @@ ReelWriter::create_reel (list const & refs, listintrinsic_duration() == _period.duration().frames_round (_film->video_frame_rate ())); + DCPOMATIC_ASSERT (reel_subtitle_asset->duration() == _period.duration().frames_round (_film->video_frame_rate ())); reel->add (reel_subtitle_asset); } -- cgit v1.2.3