diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-12 00:18:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-12 00:18:18 +0100 |
| commit | 631f905234537d2b0a24e9b3ff40f08a17c0fd8b (patch) | |
| tree | dc60d31714e5201028d679b41bef6c5658681a02 /test | |
| parent | 396cddb7c112aedc80a106a785083aea05b8b741 (diff) | |
Optimise image scaling for the preview.
Diffstat (limited to 'test')
| -rw-r--r-- | test/make_black_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/make_black_test.cc b/test/make_black_test.cc index 23f4a71ff..c402884b3 100644 --- a/test/make_black_test.cc +++ b/test/make_black_test.cc @@ -80,7 +80,7 @@ BOOST_AUTO_TEST_CASE (make_black_test) for (list<AVPixelFormat>::const_iterator i = pix_fmts.begin(); i != pix_fmts.end(); ++i) { boost::shared_ptr<Image> foo (new Image (*i, in_size, true)); foo->make_black (); - boost::shared_ptr<Image> bar = foo->scale (out_size, dcp::YUV_TO_RGB_REC601, AV_PIX_FMT_RGB24, true); + boost::shared_ptr<Image> bar = foo->scale (out_size, dcp::YUV_TO_RGB_REC601, AV_PIX_FMT_RGB24, true, false); uint8_t* p = bar->data()[0]; for (int y = 0; y < bar->size().height; ++y) { |
