diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-22 15:35:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-22 15:35:34 +0100 |
| commit | 9c9890b9ff89af710db21145c03a09993c629e3e (patch) | |
| tree | 9e96f24e230c7d75a3d0adeff4137e6d8305c710 /test/make_black_test.cc | |
| parent | 78c599cd7447ecfa33cc9f223d4fc6ba8b3879af (diff) | |
Actually use YUV->RGB setting when converting.
Diffstat (limited to 'test/make_black_test.cc')
| -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 913b6da10..b0243310b 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, PIX_FMT_RGB24, true); + boost::shared_ptr<Image> bar = foo->scale (out_size, dcp::YUV_TO_RGB_REC601, PIX_FMT_RGB24, true); uint8_t* p = bar->data()[0]; for (int y = 0; y < bar->size().height; ++y) { |
