Add support for no-scale of the input video.
[dcpomatic.git] / test / ffmpeg_audio_test.cc
index 65c29325c348178b2fd4febc13fa8ac7f01044ff..2e83d45c9101dbef0c064e3c0e26ef5446bcab85 100644 (file)
@@ -39,7 +39,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test)
        shared_ptr<Film> film = new_test_film ("ffmpeg_audio_test");
        film->set_name ("ffmpeg_audio_test");
        shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/staircase.mov"));
-       c->set_ratio (Ratio::from_id ("185"));
+       c->set_scale (VideoContentScale (Ratio::from_id ("185")));
        film->examine_and_add_content (c);
 
        wait_for_jobs ();