X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fgl_video_view.cc;h=0b1e7aeab94be33d721e42f6cc4ffae7469fd852;hp=640b6a373a6d0fe2b1e4f631d4f985a1d4f093c6;hb=c80f7a440de73dead499764b4073d39d54c68b9f;hpb=89aaf8225c9a6ca079317b248039fba103e8d4a3 diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc index 640b6a373..0b1e7aeab 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 pv) { - shared_ptr video = _optimise_for_j2k ? pv->raw_image() : pv->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, true); + shared_ptr 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. @@ -517,7 +517,7 @@ GLVideoView::set_image (shared_ptr pv) /** If _optimise_for_j2k is true we render a XYZ image, doing the colourspace * conversion, scaling and video range conversion in the GL shader. - * Othewise we render a RGB image without any shader-side processing. + * Otherwise we render a RGB image without any shader-side processing. */ /* XXX: video range conversion */