summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-15 16:17:01 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-15 16:17:01 +0200
commit4219d4b76c5cd5690b1f4fa0c248d93ced26d05a (patch)
tree6266573a3a26dd9f432d6bd096a2c6bbd85bf6c4 /src/wx
parent39dcdd18487d5d1e20f0343fe617ed5bf44c1387 (diff)
Fix length of player output so it can be either the film's length or playlist's length, as appropriate.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 1 insertions, 1 deletions
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> 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);