summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-16 14:47:54 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commitbaa80ad8bca5875c5ca3ed1e35d0d4cc7a093606 (patch)
tree9b8213a688720a7039f98fa4ab1a6b6e9638e372 /test
parentf36136e70efbc19255142319a1676f25fa55f780 (diff)
Test crash fix.
Diffstat (limited to 'test')
-rw-r--r--test/threed_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/threed_test.cc b/test/threed_test.cc
index 1e728bc9b..655461559 100644
--- a/test/threed_test.cc
+++ b/test/threed_test.cc
@@ -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"));