summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/subtitle_panel.cc')
-rw-r--r--src/wx/subtitle_panel.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc
index 852d754d5..840d3dad5 100644
--- 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;