Test crash fix.
authorCarl Hetherington <cth@carlh.net>
Mon, 16 May 2016 13:47:54 +0000 (14:47 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 18 May 2016 10:50:29 +0000 (11:50 +0100)
test/threed_test.cc

index 1e728bc9b29111eb4d0243c2411b4f1683e5aedc..6554615598056414a16c00a3f18485909ca1c35b 100644 (file)
@@ -38,11 +38,10 @@ 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->video->set_frame_type (VIDEO_FRAME_TYPE_3D_LEFT_RIGHT);
        film->examine_and_add_content (c);
-
        wait_for_jobs ();
 
+       c->video->set_frame_type (VIDEO_FRAME_TYPE_3D_LEFT_RIGHT);
        c->video->set_scale (VideoContentScale (Ratio::from_id ("185")));
 
        film->set_container (Ratio::from_id ("185"));