+ if (reel_sound_asset->duration() != _period.duration().frames_round (_film->video_frame_rate ())) {
+ LOG_ERROR (
+ "Reel sound asset has length %1 but reel period is %2",
+ to_string(reel_sound_asset->duration()),
+ to_string(_period.duration().frames_round(_film->video_frame_rate()))
+ );
+ DCPOMATIC_ASSERT (reel_sound_asset->duration() == _period.duration().frames_round (_film->video_frame_rate ()));
+ }