Tidy up after mass rename.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index 05d81526508a26b540202b3317931149e38227c9..9c803a3b61d012a965fcfece5d4a7ed675b70b38 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<TextDecoder> (new TextDecoder (this, content->only_caption(), log, first)));
+       text.push_back (shared_ptr<TextDecoder> (new TextDecoder (this, content->only_text(), log, first)));
 }
 
 void
@@ -81,7 +81,7 @@ DCPSubtitleDecoder::pass ()
                /* XXX: image subtitles */
        }
 
-       only_caption()->emit_plain (p, s);
+       only_text()->emit_plain (p, s);
        return false;
 }