More automated renaming.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index 3ed4a6827f98cf41c025bade2c2b54a4712a0710..05d81526508a26b540202b3317931149e38227c9 100644 (file)
@@ -39,7 +39,7 @@ DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const DCPSubtitleContent> con
        if (_next != _subtitles.end()) {
                first = content_time_period(*_next).from;
        }
-       caption.push_back (shared_ptr<CaptionDecoder> (new CaptionDecoder (this, content->only_caption(), log, first)));
+       caption.push_back (shared_ptr<TextDecoder> (new TextDecoder (this, content->only_caption(), log, first)));
 }
 
 void
@@ -64,7 +64,7 @@ DCPSubtitleDecoder::pass ()
        /* Gather all subtitles with the same time period that are next
           on the list.  We must emit all subtitles for the same time
           period with the same plain_text() call otherwise the
-          CaptionDecoder will assume there is nothing else at the
+          TextDecoder will assume there is nothing else at the
           time of emit the first.
        */