X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.cc;h=c17927ac5bc0de8d483004ed4c41dcd69c9bbb16;hb=a78b741c43830c84bcb4d18e3147746f13a668e5;hp=bddd3abba280316ae58409b1247a1994cd26c501;hpb=3d90ce7a500a33b6147c30b65766efcbc447f5ab;p=dcpomatic.git diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index bddd3abba..c17927ac5 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -181,7 +181,7 @@ FilmViewer::set_film (shared_ptr film) _film->Changed.connect (boost::bind (&FilmViewer::film_changed, this, _1)); _player->Changed.connect (boost::bind (&FilmViewer::player_changed, this, _1)); - _player->Video.connect (boost::bind (&FilmViewer::video, this, _1)); + _player->Video.connect (boost::bind (&FilmViewer::video, this, _1, _2)); calculate_sizes (); refresh (); @@ -197,7 +197,7 @@ FilmViewer::refresh_panel () } void -FilmViewer::video (shared_ptr pv) +FilmViewer::video (shared_ptr pv, DCPTime time) { if (!_player) { return; @@ -235,7 +235,7 @@ FilmViewer::video (shared_ptr pv) ImageChanged (pv); - _position = pv->time (); + _position = time; _inter_position = pv->inter_position (); _inter_size = pv->inter_size ();