"<OriginalVideoFrameRate>23.97602462768555</OriginalVideoFrameRate>"
"<VideoFrameType>0</VideoFrameType>"
"<SampleAspectRatio>1</SampleAspectRatio>"
+ "<BitsPerPixel>12</BitsPerPixel>"
"<LeftCrop>" << crop.left << "</LeftCrop>"
"<RightCrop>" << crop.right << "</RightCrop>"
"<TopCrop>" << crop.top << "</TopCrop>"
sc = VideoContentScale (scale);
}
- dcp::Size answer = sc.get().size (vc, display_size, film_size, 1);
+ dcp::Size answer = sc.get().size (vc, display_size, film_size);
if (answer != correct) {
cerr << "Testing " << vc->video_size().width << "x" << vc->video_size().height << "\n";
cerr << "Testing " << display_size.width << "x" << display_size.height << "\n";
}
BOOST_CHECK (answer == correct);
}
-
+
/* Test scale and stretch to specified ratio */
BOOST_AUTO_TEST_CASE (video_content_scale_test_to_ratio)
{
true,
dcp::Size (1998, 837)
);
-
+
// Flat in scope container
test (
dcp::Size (400, 200),
dcp::Size (1587, 858)
);
-
+
/* To player */
// Flat in flat container
true,
dcp::Size (185, 78)
);
-
+
// Flat in scope container
test (
dcp::Size (400, 200),