More renaming.
[dcpomatic.git] / src / lib / decoder_factory.cc
index 1a0af1b2c07cdfb834566f6ec5a470153f6015b6..73a5b66fe44dfd31937c7e0c58eb5f65a0f0e264 100644 (file)
@@ -24,8 +24,8 @@
 #include "dcp_decoder.h"
 #include "image_content.h"
 #include "image_decoder.h"
-#include "text_text_content.h"
-#include "text_text_decoder.h"
+#include "plain_text_content.h"
+#include "plain_text_decoder.h"
 #include "dcp_text_content.h"
 #include "dcp_text_decoder.h"
 #include "video_mxf_content.h"
@@ -54,9 +54,9 @@ decoder_factory (shared_ptr<const Content> content, shared_ptr<Log> log, bool fa
                return shared_ptr<Decoder> (new ImageDecoder (ic, log));
        }
 
-       shared_ptr<const TextTextContent> rc = dynamic_pointer_cast<const TextTextContent> (content);
+       shared_ptr<const PlainTextContent> rc = dynamic_pointer_cast<const PlainTextContent> (content);
        if (rc) {
-               return shared_ptr<Decoder> (new TextTextDecoder (rc, log));
+               return shared_ptr<Decoder> (new PlainTextDecoder (rc, log));
        }
 
        shared_ptr<const DCPTextContent> dsc = dynamic_pointer_cast<const DCPTextContent> (content);