summaryrefslogtreecommitdiff
path: root/test/video_content_scale_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-02 20:20:32 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-02 20:20:32 +0100
commitae15eeca8588c6928d7671894db98c2e289fa601 (patch)
treed284aff5b975d57c3a69926634f2259a8828583e /test/video_content_scale_test.cc
parenta38095fc533b2620e375695024beca5f5540b10d (diff)
Remove approximate size stuff where playback viewer would round
down to nearest 4 pixels to try and speed up scaling. It didn't work as the two estimates of what would be scaled didn't always agree. It could probably be resurrected.
Diffstat (limited to 'test/video_content_scale_test.cc')
-rw-r--r--test/video_content_scale_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/video_content_scale_test.cc b/test/video_content_scale_test.cc
index a2fb7fd43..d2ee4c0d8 100644
--- a/test/video_content_scale_test.cc
+++ b/test/video_content_scale_test.cc
@@ -97,7 +97,7 @@ test (dcp::Size content_size, dcp::Size display_size, dcp::Size film_size, Crop
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";