Fix connection to player.
authorCarl Hetherington <cth@carlh.net>
Sun, 18 Aug 2013 21:27:25 +0000 (22:27 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 18 Aug 2013 21:27:25 +0000 (22:27 +0100)
src/wx/film_viewer.cc

index ddd6c12c569e8c9ed46706aa81e4108a5a256d32..3ba7ee7ce8dfa20ffa05fd7ed6809365e6cc6f29 100644 (file)
@@ -131,7 +131,7 @@ FilmViewer::set_film (shared_ptr<Film> f)
 
        _player = f->make_player ();
        _player->disable_audio ();
-       _player->Video.connect (boost::bind (&FilmViewer::process_video, this, _1, _2, _4));
+       _player->Video.connect (boost::bind (&FilmViewer::process_video, this, _1, _2, _5));
        _player->Changed.connect (boost::bind (&FilmViewer::player_changed, this, _1));
 
        calculate_sizes ();