diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-04-05 02:02:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-04-05 02:02:40 +0100 |
| commit | 1954ed123a1adf18c56fc18beb363116260256a6 (patch) | |
| tree | f87d8031c502b465e233214abb5e1db3d3ca4422 | |
| parent | e068f8b19ed0892fed8da44b873e2d309d7ba137 (diff) | |
Add failing 3D L/R test.
| -rw-r--r-- | test/threed_test.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/threed_test.cc b/test/threed_test.cc index cdf9a5304..efa563966 100644 --- a/test/threed_test.cc +++ b/test/threed_test.cc @@ -100,3 +100,22 @@ BOOST_AUTO_TEST_CASE (threed_test3) BOOST_REQUIRE (!wait_for_jobs ()); } + +BOOST_AUTO_TEST_CASE (threed_test4) +{ + shared_ptr<Film> film = new_test_film2 ("threed_test4"); + shared_ptr<FFmpegContent> L (new FFmpegContent (film, private_data / "LEFT_TEST_DCP3D4K.mov")); + film->examine_and_add_content (L); + shared_ptr<FFmpegContent> R (new FFmpegContent (film, private_data / "RIGHT_TEST_DCP3D4K.mov")); + film->examine_and_add_content (R); + wait_for_jobs (); + + L->video->set_frame_type (VIDEO_FRAME_TYPE_3D_LEFT); + R->video->set_frame_type (VIDEO_FRAME_TYPE_3D_RIGHT); + + film->set_three_d (true); + film->make_dcp (); + film->write_metadata (); + + BOOST_REQUIRE (!wait_for_jobs ()); +} |
