summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-29 11:44:05 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-29 11:44:05 +0200
commit09860271bb6d03b3937c08bffb4c672697f6d711 (patch)
treef6bb9573b687ec7877a5412bf151af9d13676ee0 /src/wx
parent2d7ba63fdbe2c91a1ca22ffa5b511ec1a2420b29 (diff)
Recover information about closed caption tracks when loading DCPsv2.15.93
so that they can be displayed.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_viewer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 154b3a5fd..d3a6c12e4 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -191,6 +191,8 @@ FilmViewer::set_film (shared_ptr<Film> film)
/* Keep about 1 second's worth of history samples */
_latency_history_count = _film->audio_frame_rate() / _audio_block_size;
+ _closed_captions_dialog->update_tracks (_film);
+
recreate_butler ();
calculate_sizes ();