Apply the remainder of a 1.x patch; a test.
[dcpomatic.git] / test / ffmpeg_dcp_test.cc
index 234bf2c79b10bd8dafc5e74f71d2a36c98c22d3e..559277e511a4ba14e59f4f2b329eea6d4b77224b 100644 (file)
@@ -38,11 +38,12 @@ BOOST_AUTO_TEST_CASE (ffmpeg_dcp_test)
        shared_ptr<Film> film = new_test_film ("ffmpeg_dcp_test");
        film->set_name ("test_film2");
        shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/test.mp4"));
-       c->set_scale (VideoContentScale (Ratio::from_id ("185")));
        film->examine_and_add_content (c);
 
        wait_for_jobs ();
        
+       c->set_scale (VideoContentScale (Ratio::from_id ("185")));
+       
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
        film->make_dcp ();