Fix build.
authorCarl Hetherington <cth@carlh.net>
Tue, 30 May 2017 09:37:08 +0000 (10:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 30 May 2017 09:37:08 +0000 (10:37 +0100)
src/lib/reel_writer.cc

index 13d62f86deb6d7e6938dfb512ff3e70c6d1a24cb..2c74d66bdb664fb2ee4950fd07204349ace269e6 100644 (file)
@@ -392,8 +392,8 @@ ReelWriter::create_reel (list<ReferencedReelAsset> const & refs, list<shared_ptr
        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()))
+                       reel_sound_asset->duration(),
+                       _period.duration().frames_round(_film->video_frame_rate())
                        );
                DCPOMATIC_ASSERT (reel_sound_asset->duration() == _period.duration().frames_round (_film->video_frame_rate ()));
        }