for importing encrypted subtitles.
2016-08-14 Carl Hetherington <cth@carlh.net>
+ * Support subtitles in imported DCPs.
+
* Updated zh_CN translation from 刘汉源.
2016-08-09 Carl Hetherington <cth@carlh.net>
ffmpeg_options = {}
return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options),
- ('libdcp', '563dbf0'),
+ ('libdcp', '846bb29'),
('libsub', '067c21c'))
def configure_options(target):
/* These are the content types that could include subtitles */
shared_ptr<const FFmpegContent> fc = boost::dynamic_pointer_cast<const FFmpegContent> (i);
shared_ptr<const TextSubtitleContent> sc = boost::dynamic_pointer_cast<const TextSubtitleContent> (i);
+ shared_ptr<const DCPContent> dc = boost::dynamic_pointer_cast<const DCPContent> (i);
shared_ptr<const DCPSubtitleContent> dsc = boost::dynamic_pointer_cast<const DCPSubtitleContent> (i);
if (fc) {
if (fc->subtitle) {
++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;