diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-04-30 10:05:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-04-30 10:05:13 +0100 |
| commit | 5bb7cf0132f37e2eea67c72f61d1f2b23b440596 (patch) | |
| tree | db6370fc9a72f97f199f8c82932d46a941a43040 /test | |
| parent | 6a92ad180163bf84aeedc5f955edc13557e6848c (diff) | |
Add --fourk to dcpomatic_create.
Diffstat (limited to 'test')
| -rw-r--r-- | test/create_cli_test.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/create_cli_test.cc b/test/create_cli_test.cc index 15fe62523..7bb21546e 100644 --- a/test/create_cli_test.cc +++ b/test/create_cli_test.cc @@ -144,4 +144,11 @@ BOOST_AUTO_TEST_CASE (create_cli_test) BOOST_CHECK_EQUAL (cc.content[0].frame_type, VIDEO_FRAME_TYPE_3D_LEFT); BOOST_CHECK_EQUAL (cc.content[1].path, "right.mp4"); BOOST_CHECK_EQUAL (cc.content[1].frame_type, VIDEO_FRAME_TYPE_3D_RIGHT); + BOOST_CHECK_EQUAL (cc.fourk, false); + + cc = run ("dcpomatic2_create --fourk --content-ratio 185 foo.mp4"); + BOOST_REQUIRE_EQUAL (cc.content.size(), 1); + BOOST_CHECK_EQUAL (cc.content[0].path, "foo.mp4"); + BOOST_CHECK_EQUAL (cc.fourk, true); + BOOST_CHECK (!cc.error); } |
