From: Carl Hetherington Date: Sat, 23 Nov 2019 09:41:01 +0000 (+0100) Subject: Set up things correctly on initialisation. X-Git-Tag: v2.15.40^2~7 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=ac69a0eb81e23a341545e05fa12a0e26070cb222 Set up things correctly on initialisation. --- diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 17573b438..704088645 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -182,6 +182,10 @@ FilmViewer::set_film (shared_ptr film) _film->LengthChange.connect (boost::bind(&FilmViewer::film_length_change, this)); _player->Change.connect (boost::bind (&FilmViewer::player_change, this, _1, _2, _3)); + film_change (CHANGE_TYPE_DONE, Film::VIDEO_FRAME_RATE); + film_change (CHANGE_TYPE_DONE, Film::THREE_D); + film_length_change (); + /* Keep about 1 second's worth of history samples */ _latency_history_count = _film->audio_frame_rate() / _audio_block_size;