Build fixes.
[dcpomatic.git] / test / ffmpeg_seek_test.cc
index 235a1a1d67d245e064fea9291f266b32a73e901c..ccc59e0642c7a10bbf2af85b483c5d0065e3e85b 100644 (file)
@@ -101,7 +101,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_seek_test)
        film->set_name ("ffmpeg_seek_test");
        film->set_container (Ratio::from_id ("185"));
        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 ();