X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Ffilm_viewer.cc;h=a46983a6f9972b0bf41efbc28ef1a4d03372988e;hb=fe47588e80b35c07fc25b1d9e79bc13b6e439ff0;hp=ef5c78f24ae2b628751b493fb9a2f618c7ec047a;hpb=3e12c68dc0451e73b5bc1a84d1d70f4999f7b4b5;p=dcpomatic.git diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index ef5c78f24..a46983a6f 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -151,6 +151,8 @@ FilmViewer::set_film (shared_ptr f) calculate_sizes (); get (_position, _last_get_accurate); + + setup_sensitivity (); } void @@ -170,7 +172,7 @@ FilmViewer::get (DCPTime p, bool accurate) list > pvf = _player->get_video (p, accurate); if (!pvf.empty ()) { try { - _frame = pvf.front()->image (true); + _frame = pvf.front()->image (PIX_FMT_RGB24, true); _frame = _frame->scale (_frame->size(), Scaler::from_id ("fastbilinear"), PIX_FMT_RGB24, false); _position = pvf.front()->time (); _inter_position = pvf.front()->inter_position ();