From 5bb7cf0132f37e2eea67c72f61d1f2b23b440596 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 30 Apr 2019 10:05:13 +0100 Subject: Add --fourk to dcpomatic_create. --- test/create_cli_test.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/create_cli_test.cc') 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); } -- cgit v1.2.3