X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.cc;h=a46983a6f9972b0bf41efbc28ef1a4d03372988e;hb=cb990adba9c57e5107ef2aa9716cf0a26c1df83d;hp=ef5c78f24ae2b628751b493fb9a2f618c7ec047a;hpb=cb1dfa9ec09af2abf6d10e4bf2764476db83841b;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 ();