using boost::optional;
using boost::dynamic_pointer_cast;
-TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr<const TextSubtitleContent> content)
+TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr<const TextSubtitleContent> content, shared_ptr<Log> log)
: TextSubtitle (content)
, _next (0)
{
new SubtitleDecoder (
this,
content->subtitle,
+ log,
bind (&TextSubtitleDecoder::image_subtitles_during, this, _1, _2),
bind (&TextSubtitleDecoder::text_subtitles_during, this, _1, _2)
)