Nicer fix for 86102d30bf0aad89115bbeb3d8aaa2a27a0aa432
[dcpomatic.git] / src / wx / film_viewer.cc
index bb59122aaff0605f5c46b89625ffe607950b2f2c..4b9528bc04fe64113f3f4e478446139c8745ef9c 100644 (file)
@@ -164,7 +164,7 @@ FilmViewer::set_film (shared_ptr<Film> film)
        }
 
        try {
-               _player.reset (new Player(_film, _film->playlist(), _film->length()));
+               _player.reset (new Player(_film));
                _player->set_fast ();
                if (_dcp_decode_reduction) {
                        _player->set_dcp_decode_reduction (_dcp_decode_reduction);
@@ -406,7 +406,6 @@ void
 FilmViewer::film_length_change ()
 {
        _video_view->set_length (_film->length());
-       _player->set_playback_length (_film->length());
 }
 
 /** Re-get the current frame slowly by seeking */