summaryrefslogtreecommitdiff
path: root/src/lib/text_caption_file_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-19 22:44:53 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:45:23 +0100
commit27b83475435dda4e84a90cf59a52f150905c4ab1 (patch)
tree51d0158c7a879f6b2f3c40843c5e5e455069a1dc /src/lib/text_caption_file_decoder.cc
parent9cb73fbc0fa4643612f01665bc6d9fc430656f32 (diff)
Clean up after previous commit.
Diffstat (limited to 'src/lib/text_caption_file_decoder.cc')
-rw-r--r--src/lib/text_caption_file_decoder.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/text_caption_file_decoder.cc b/src/lib/text_caption_file_decoder.cc
index d1a72faeb..46217e49b 100644
--- a/src/lib/text_caption_file_decoder.cc
+++ b/src/lib/text_caption_file_decoder.cc
@@ -20,8 +20,8 @@
#include "text_caption_file_decoder.h"
#include "text_caption_file_content.h"
-#include "text_content.h"
-#include "text_decoder.h"
+#include "caption_content.h"
+#include "caption_decoder.h"
#include <dcp/subtitle_string.h>
#include <boost/foreach.hpp>
#include <iostream>
@@ -43,7 +43,7 @@ TextCaptionFileDecoder::TextCaptionFileDecoder (shared_ptr<const TextCaptionFile
if (!_subtitles.empty()) {
first = content_time_period(_subtitles[0]).from;
}
- subtitle.reset (new TextDecoder (this, content->subtitle, log, first));
+ caption.reset (new CaptionDecoder (this, content->caption, log, first));
}
void
@@ -73,7 +73,7 @@ TextCaptionFileDecoder::pass ()
}
ContentTimePeriod const p = content_time_period (_subtitles[_next]);
- subtitle->emit_plain (p, _subtitles[_next]);
+ caption->emit_plain (p, _subtitles[_next]);
++_next;
return false;