projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e646310
)
Make sure we have a subtitle if we're trying to reference it.
author
Carl Hetherington
<cth@carlh.net>
Fri, 30 Oct 2015 15:47:35 +0000
(15:47 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 30 Oct 2015 15:47:35 +0000
(15:47 +0000)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 3ae95cf5275d2ea0f5393c6d7d9abc40909e9501..10e47686283d7df200c15e7ff88193909305fc06 100644
(file)
--- a/
src/lib/player.cc
+++ b/
src/lib/player.cc
@@
-783,6
+783,7
@@
Player::get_reel_assets ()
}
if (j->reference_subtitle ()) {
}
if (j->reference_subtitle ()) {
+ DCPOMATIC_ASSERT (k->main_subtitle ());
a.push_back (
ReferencedReelAsset (
k->main_subtitle (),
a.push_back (
ReferencedReelAsset (
k->main_subtitle (),