From a46dc9818f2d244023fbc0a8362db7203ff610ce Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 14 Aug 2016 23:59:43 +0100 Subject: Support subtitles in imported DCPs. Bump libdcp to get support for importing encrypted subtitles. --- src/wx/subtitle_panel.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc index d82f9c028..3db50104f 100644 --- a/src/wx/subtitle_panel.cc +++ b/src/wx/subtitle_panel.cc @@ -256,6 +256,7 @@ SubtitlePanel::setup_sensitivity () /* These are the content types that could include subtitles */ shared_ptr fc = boost::dynamic_pointer_cast (i); shared_ptr sc = boost::dynamic_pointer_cast (i); + shared_ptr dc = boost::dynamic_pointer_cast (i); shared_ptr dsc = boost::dynamic_pointer_cast (i); if (fc) { if (fc->subtitle) { @@ -269,7 +270,7 @@ SubtitlePanel::setup_sensitivity () ++ffmpeg_subs; ++any_subs; } - } else if (sc || dsc) { + } else if (sc || dc || dsc) { /* XXX: in the future there could be bitmap subs from DCPs */ ++text_subs; ++any_subs; -- cgit v1.2.3