projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bae5624
)
Fix missing subtitles in the player when they are added with a VF.
author
Carl Hetherington
<cth@carlh.net>
Sun, 18 Feb 2018 00:34:01 +0000
(
00:34
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 18 Feb 2018 00:34:48 +0000
(
00:34
+0000)
src/tools/dcpomatic_player.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_player.cc
b/src/tools/dcpomatic_player.cc
index c59d925236c4538bbf9c5f1701e43e8d3bddedec..3e36b575b2c16cdfe09713786636d744913882ee 100644
(file)
--- 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 ();