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 /src/wx | |
| parent | 01ae76abb6ec2022fba304e5052ab0595a78b4d6 (diff) | |
Cleanup: remove unused parameter to PlayerVideo::force.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/film_viewer.cc | 2 | ||||
| -rw-r--r-- | src/wx/gl_video_view.cc | 2 | ||||
| -rw-r--r-- | src/wx/simple_video_view.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index ac12bea3f..cd5b6e2ea 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -223,7 +223,7 @@ FilmViewer::recreate_butler () _player, Config::instance()->audio_mapping(_audio_channels), _audio_channels, - bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), + boost::bind(&PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, j2k_gl_optimised ? Image::Alignment::COMPACT : Image::Alignment::PADDED, true, diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc index 640b6a373..dee45cd13 100644 --- a/src/wx/gl_video_view.cc +++ b/src/wx/gl_video_view.cc @@ -508,7 +508,7 @@ GLVideoView::draw () void GLVideoView::set_image (shared_ptr<const PlayerVideo> pv) { - shared_ptr<const Image> video = _optimise_for_j2k ? pv->raw_image() : pv->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, true); + shared_ptr<const Image> video = _optimise_for_j2k ? pv->raw_image() : pv->image(boost::bind(&PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, true); /* Only the player's black frames should be aligned at this stage, so this should * almost always have no work to do. diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc index f4ff9a4eb..8d5cb95f8 100644 --- a/src/wx/simple_video_view.cc +++ b/src/wx/simple_video_view.cc @@ -224,7 +224,7 @@ SimpleVideoView::update () _state_timer.set ("get image"); - _image = player_video().first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, true); + _image = player_video().first->image(boost::bind(&PlayerVideo::force, AV_PIX_FMT_RGB24), VideoRange::FULL, true); _state_timer.set ("ImageChanged"); _viewer->image_changed (player_video().first); |
