Add support for no-scale of the input video.
[dcpomatic.git] / test / threed_test.cc
index 31a95e38278d36c8d79c58a9a372147cbe2f4dda..8da9b46a891fa8daeed4cd406eb784d23b8c7cc6 100644 (file)
@@ -32,7 +32,7 @@ BOOST_AUTO_TEST_CASE (threed_test)
        shared_ptr<Film> film = new_test_film ("threed_test");
        film->set_name ("test_film2");
        shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/test.mp4"));
-       c->set_ratio (Ratio::from_id ("185"));
+       c->set_scale (VideoContentScale (Ratio::from_id ("185")));
        c->set_video_frame_type (VIDEO_FRAME_TYPE_3D_LEFT_RIGHT);
        film->examine_and_add_content (c);