X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fvideo_content_scale_test.cc;h=8c3bd431acd20536c3fc3fa3b94789ca3a8923cd;hb=76a0076274d5084bef496a71cd2aee3e89e9d6d8;hp=d2ee4c0d83c8408b0b98eaf9e2be744279a7668f;hpb=ae15eeca8588c6928d7671894db98c2e289fa601;p=dcpomatic.git diff --git a/test/video_content_scale_test.cc b/test/video_content_scale_test.cc index d2ee4c0d8..8c3bd431a 100644 --- a/test/video_content_scale_test.cc +++ b/test/video_content_scale_test.cc @@ -49,6 +49,7 @@ test (dcp::Size content_size, dcp::Size display_size, dcp::Size film_size, Crop "23.97602462768555" "0" "1" + "12" "" << crop.left << "" "" << crop.right << "" "" << crop.top << "" @@ -105,7 +106,7 @@ test (dcp::Size content_size, dcp::Size display_size, dcp::Size film_size, Crop } BOOST_CHECK (answer == correct); } - + /* Test scale and stretch to specified ratio */ BOOST_AUTO_TEST_CASE (video_content_scale_test_to_ratio) { @@ -132,7 +133,7 @@ BOOST_AUTO_TEST_CASE (video_content_scale_test_to_ratio) true, dcp::Size (1998, 837) ); - + // Flat in scope container test ( dcp::Size (400, 200), @@ -144,7 +145,7 @@ BOOST_AUTO_TEST_CASE (video_content_scale_test_to_ratio) dcp::Size (1587, 858) ); - + /* To player */ // Flat in flat container @@ -168,7 +169,7 @@ BOOST_AUTO_TEST_CASE (video_content_scale_test_to_ratio) true, dcp::Size (185, 78) ); - + // Flat in scope container test ( dcp::Size (400, 200),