diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-04 00:42:57 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-07 22:13:11 +0200 |
| commit | 4f9314a311de379b105741273a15821da62a75cc (patch) | |
| tree | 2b1729af02ff971ac2fbe2ab40cdf8ff0c35d00f /test/dcp_playback_test.cc | |
| parent | 547ee025d195f5881c7807f5373f3a52c490ada9 (diff) | |
Cleanup: remove unused parameter to PlayerVideo::force.
Diffstat (limited to 'test/dcp_playback_test.cc')
| -rw-r--r-- | test/dcp_playback_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dcp_playback_test.cc b/test/dcp_playback_test.cc index 66a735798..74d5edd3f 100644 --- a/test/dcp_playback_test.cc +++ b/test/dcp_playback_test.cc @@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test) make_shared<Player>(film, Image::Alignment::PADDED), AudioMapping(6, 6), 6, - bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), + boost::bind(&PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, Image::Alignment::PADDED, true, @@ -63,7 +63,7 @@ BOOST_AUTO_TEST_CASE (dcp_playback_test) } /* assuming DCP is 24fps/48kHz */ butler->get_audio (Butler::Behaviour::BLOCKING, audio_buffer, 2000); - p.first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, true); + p.first->image(boost::bind(&PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, true); } delete[] audio_buffer; } |
