Cleanup: remove unused parameter to PlayerVideo::force.
[dcpomatic.git] / src / wx / gl_video_view.cc
index 640b6a373a6d0fe2b1e4f631d4f985a1d4f093c6..dee45cd13bc4e99fafd1313265d353c3a707e02f 100644 (file)
@@ -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.