summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-18 00:34:01 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-18 00:34:01 +0000
commit3b83d4be7b9eadb6631cb98e289635154f84ad25 (patch)
treef99b0316c04f698210fd83666fe866ad49d86609 /src/tools
parent19eef2cafc28a485d18145392977e3ad650569fe (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.cc4
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 ();