summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-04 00:42:57 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-07 22:13:11 +0200
commit4f9314a311de379b105741273a15821da62a75cc (patch)
tree2b1729af02ff971ac2fbe2ab40cdf8ff0c35d00f /src/wx/gl_video_view.cc
parent547ee025d195f5881c7807f5373f3a52c490ada9 (diff)
Cleanup: remove unused parameter to PlayerVideo::force.
Diffstat (limited to 'src/wx/gl_video_view.cc')
-rw-r--r--src/wx/gl_video_view.cc2
1 files changed, 1 insertions, 1 deletions
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.