From 4219d4b76c5cd5690b1f4fa0c248d93ced26d05a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 15 Apr 2020 16:17:01 +0200 Subject: Fix length of player output so it can be either the film's length or playlist's length, as appropriate. --- src/wx/film_viewer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wx') diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index bff2df0ff..cac6e8c28 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -164,7 +164,7 @@ FilmViewer::set_film (shared_ptr film) } try { - _player.reset (new Player (_film, _film->playlist ())); + _player.reset (new Player(_film, _film->playlist(), _film->length())); _player->set_fast (); if (_dcp_decode_reduction) { _player->set_dcp_decode_reduction (_dcp_decode_reduction); -- cgit v1.2.3