projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c521e5
)
Add an assert.
author
Carl Hetherington
<cth@carlh.net>
Thu, 2 Jun 2016 19:53:29 +0000
(20:53 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 2 Jun 2016 19:53:29 +0000
(20:53 +0100)
src/wx/subtitle_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/subtitle_panel.cc
b/src/wx/subtitle_panel.cc
index 852d754d538cadef1a6dad0784e68c4dca775fd9..840d3dad57c058ae8e8d993481b2b395d69c8235 100644
(file)
--- a/
src/wx/subtitle_panel.cc
+++ b/
src/wx/subtitle_panel.cc
@@
-245,6
+245,7
@@
SubtitlePanel::setup_sensitivity ()
shared_ptr<const DCPSubtitleContent> dsc = boost::dynamic_pointer_cast<const DCPSubtitleContent> (i);
if (fc) {
if (fc->subtitle) {
+ DCPOMATIC_ASSERT (fc->subtitle_stream());
/* This content has some subtitles; check the selected stream to decide what type */
if (fc->subtitle_stream()->has_text()) {
++text_subs;