Rename TYPE_DEBUG_PLAYER to TYPE_DEBUG_VIDEO_VIEW.
[dcpomatic.git] / src / lib / content_factory.cc
index 30f02546cfa757c36854de594a4ea5bad52da430..0e8b04eda21c48b9b22f975a2e7e4b126485a417 100644 (file)
@@ -34,6 +34,7 @@
 #include "video_mxf_content.h"
 #include "film.h"
 #include "log_entry.h"
+#include "dcpomatic_log.h"
 #include "log.h"
 #include "compose.hpp"
 #include <libcxml/cxml.h>
@@ -47,8 +48,6 @@ using std::list;
 using boost::shared_ptr;
 using boost::optional;
 
-#define LOG_GENERAL(...) dcpomatic_log->log (String::compose (__VA_ARGS__), LogEntry::TYPE_GENERAL);
-
 /** Create a Content object from an XML node.
  *  @param node XML description.
  *  @param version XML state version.
@@ -167,7 +166,7 @@ content_factory (boost::filesystem::path path)
 
                if (valid_image_file (path)) {
                        single.reset (new ImageContent(path));
-               } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass") {
+               } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass" || ext == ".stl") {
                        single.reset (new StringTextFileContent(path));
                } else if (ext == ".xml") {
                        cxml::Document doc;