#include "dcp_subtitle_content.h"
#include "util.h"
#include <libcxml/cxml.h>
-#include <dcp/smpte_subtitle_content.h>
+#include <dcp/smpte_subtitle_asset.h>
using std::string;
using std::list;
string const type = node->string_child ("Type");
boost::shared_ptr<Content> content;
-
+
if (type == "FFmpeg") {
content.reset (new FFmpegContent (film, node, version, notes));
} else if (type == "Image") {
content.reset (new SubRipContent (film, path));
} else if (ext == ".xml") {
content.reset (new DCPSubtitleContent (film, path));
- } else if (ext == ".mxf" && dcp::SMPTESubtitleContent::valid_mxf (path)) {
+ } else if (ext == ".mxf" && dcp::SMPTESubtitleAsset::valid_mxf (path)) {
content.reset (new DCPSubtitleContent (film, path));
}