summaryrefslogtreecommitdiff
path: root/test/dcp_playback_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-25 22:16:19 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-26 21:51:18 +0200
commitdf9b4676aba8b941f124b174393988cad21677e1 (patch)
tree21658068cf5b2a74e23339e013398b20b327f886 /test/dcp_playback_test.cc
parente444fbd0d7c8a32e9f50adc19d0d49ae7c489a11 (diff)
Remove functors for choosing pixel format output from make_image().
Diffstat (limited to 'test/dcp_playback_test.cc')
-rw-r--r--test/dcp_playback_test.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/dcp_playback_test.cc b/test/dcp_playback_test.cc
index c63c3c092..7b2280883 100644
--- a/test/dcp_playback_test.cc
+++ b/test/dcp_playback_test.cc
@@ -28,10 +28,6 @@
using std::make_shared;
-using std::make_shared;
-#if BOOST_VERSION >= 106100
-using namespace boost::placeholders;
-#endif
using namespace dcpomatic;
@@ -48,7 +44,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test)
player,
AudioMapping(6, 6),
6,
- boost::bind(&PlayerVideo::force, AV_PIX_FMT_RGB24),
+ AV_PIX_FMT_RGB24,
VideoRange::FULL,
Image::Alignment::PADDED,
true,
@@ -64,6 +60,6 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test)
}
/* assuming DCP is 24fps/48kHz */
butler->get_audio (Butler::Behaviour::BLOCKING, audio_buffer.data(), 2000);
- p.first->image(boost::bind(&PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, true);
+ p.first->image(AV_PIX_FMT_RGB24, VideoRange::FULL, true);
}
}