diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-04 00:42:57 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-04 00:43:42 +0200 |
| commit | 64577fc3903bd371803a3958044af56962036336 (patch) | |
| tree | b9c1002f5c19e1f2c17104e5fa59c09c32914cf3 /test/dcp_playback_test.cc | |
| parent | 01ae76abb6ec2022fba304e5052ab0595a78b4d6 (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; } |
