diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-03-25 00:41:05 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-03-25 00:41:05 +0000 |
| commit | 527deef6f18c46badb396e4520d802333997add2 (patch) | |
| tree | c37704455dbbd6453cbf583f97254ea44b37366e /test/make_black_test.cc | |
| parent | b6e388dc3ea1ab37711f50bbc28a93f48de98db3 (diff) | |
Remove Scaler config and use SWS_BICUBIC everywhere.
Diffstat (limited to 'test/make_black_test.cc')
| -rw-r--r-- | test/make_black_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/make_black_test.cc b/test/make_black_test.cc index f6c3a4bb2..913b6da10 100644 --- a/test/make_black_test.cc +++ b/test/make_black_test.cc @@ -30,7 +30,6 @@ extern "C" { #include <libavutil/pixfmt.h> } #include "lib/image.h" -#include "lib/scaler.h" using std::list; @@ -81,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, Scaler::from_id ("bicubic"), PIX_FMT_RGB24, true); + boost::shared_ptr<Image> bar = foo->scale (out_size, PIX_FMT_RGB24, true); uint8_t* p = bar->data()[0]; for (int y = 0; y < bar->size().height; ++y) { |
