diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-08-21 22:58:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-08-21 22:58:38 +0100 |
| commit | 854900798edd09d2fad0c82afca503c04d5aeb02 (patch) | |
| tree | 592560c642afd235d438faf9c6c7763a61d0cb6e /src | |
| parent | 2095bd0d3c84e59252b01424eb611eda76f276ca (diff) | |
Display subtitles in player.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index 959b5709c..70ff051ab 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -28,6 +28,7 @@ #include "lib/job_manager.h" #include "lib/job.h" #include "lib/video_content.h" +#include "lib/subtitle_content.h" #include "wx/wx_signal_manager.h" #include "wx/wx_util.h" #include "wx/about_dialog.h" @@ -154,6 +155,10 @@ public: return; } + if (dcp->subtitle) { + dcp->subtitle->set_use (true); + } + _viewer->set_film (_film); _info->triggered_update (); } |
