summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-08 14:58:53 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-08 14:58:53 +0100
commit9facdf75a2776319fc5826cfa3dd85340f3c8879 (patch)
treedfc19da6dd5b3aefd2cacbec817336058d9c6c02 /src/wx
parent9334a6e5ea4ba89c243b2e5d6bdb02db6aa012ff (diff)
Fix detection of same-frame to speed up simple encodes (#548).
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_viewer.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 0938d52a4..e33a3c118 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -144,6 +144,11 @@ FilmViewer::set_film (shared_ptr<Film> f)
_film.reset ();
return;
}
+
+ /* Always burn in subtitles, even if we are set not to, otherwise we won't see them
+ in the preview.
+ */
+ _player->set_burn_subtitles (true);
_film_connection = _film->Changed.connect (boost::bind (&FilmViewer::film_changed, this, _1));