summaryrefslogtreecommitdiff
path: root/src/lib/text_subtitle_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-20 23:58:51 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-20 23:58:51 +0000
commit878e19aabf2278828a3c9b518e0804b2cef0c01e (patch)
tree1929355377edc46d25e6f9635d259ae7092ac3ef /src/lib/text_subtitle_decoder.cc
parent4337694dfd488e88f56b63898ad35ce8ce9bb3c3 (diff)
Some more decode logging.
Diffstat (limited to 'src/lib/text_subtitle_decoder.cc')
-rw-r--r--src/lib/text_subtitle_decoder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/text_subtitle_decoder.cc b/src/lib/text_subtitle_decoder.cc
index 1576f50a1..ec60bd36b 100644
--- a/src/lib/text_subtitle_decoder.cc
+++ b/src/lib/text_subtitle_decoder.cc
@@ -34,7 +34,7 @@ using boost::shared_ptr;
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)
{
@@ -42,6 +42,7 @@ TextSubtitleDecoder::TextSubtitleDecoder (shared_ptr<const TextSubtitleContent>
new SubtitleDecoder (
this,
content->subtitle,
+ log,
bind (&TextSubtitleDecoder::image_subtitles_during, this, _1, _2),
bind (&TextSubtitleDecoder::text_subtitles_during, this, _1, _2)
)