diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-18 00:34:01 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-18 00:34:01 +0000 |
| commit | 3b83d4be7b9eadb6631cb98e289635154f84ad25 (patch) | |
| tree | f99b0316c04f698210fd83666fe866ad49d86609 /src/tools | |
| parent | 19eef2cafc28a485d18145392977e3ad650569fe (diff) | |
Fix missing subtitles in the player when they are added with a VF.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index c59d92523..3e36b575b 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -311,6 +311,10 @@ private: DCPOMATIC_ASSERT (dcp); dcp->add_ov (wx_to_std(c->GetPath())); dcp->examine (shared_ptr<Job>()); + /* Maybe we just gained some subtitles */ + if (dcp->subtitle) { + dcp->subtitle->set_use (true); + } } c->Destroy (); |
