+ DCPOMATIC_ASSERT (reel_sound_asset);
+ if (reel_sound_asset->duration() != period_duration) {
+ LOG_ERROR (
+ "Reel sound asset has length %1 but reel period is %2",
+ reel_sound_asset->duration(),
+ period_duration
+ );
+ if (reel_sound_asset->duration() != period_duration) {
+ throw ProgrammingError (
+ __FILE__, __LINE__,
+ String::compose ("%1 vs %2", reel_sound_asset->duration(), period_duration)
+ );
+ }
+
+ }
+ reel->add (reel_sound_asset);
+
+ shared_ptr<dcp::ReelSubtitleAsset> reel_subtitle_asset;
+