From 27b83475435dda4e84a90cf59a52f150905c4ab1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 19 Jul 2018 22:44:53 +0100 Subject: Clean up after previous commit. --- src/lib/text_caption_file_decoder.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/text_caption_file_decoder.cc') 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 #include #include @@ -43,7 +43,7 @@ TextCaptionFileDecoder::TextCaptionFileDecoder (shared_ptrsubtitle, 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; -- cgit v1.2.3