summaryrefslogtreecommitdiff
path: root/src/lib/content_factory.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-09 13:48:35 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-09 13:48:35 +0100
commit58c574239f98b03f253934d061d976bdb3e30899 (patch)
treeaaa2ce9f918185d1c33b343e47e51761fa697780 /src/lib/content_factory.cc
parent0dc52cd6e69890cd8a2c539e80389ea8bac5cc3c (diff)
Save and re-load DCP content.
Diffstat (limited to 'src/lib/content_factory.cc')
-rw-r--r--src/lib/content_factory.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc
index 789496d08..73e333816 100644
--- a/src/lib/content_factory.cc
+++ b/src/lib/content_factory.cc
@@ -26,6 +26,7 @@
#include "image_content.h"
#include "sndfile_content.h"
#include "subrip_content.h"
+#include "dcp_content.h"
#include "util.h"
using std::string;
@@ -54,6 +55,8 @@ content_factory (shared_ptr<const Film> film, cxml::NodePtr node, int version, l
content.reset (new SndfileContent (film, node, version));
} else if (type == "SubRip") {
content.reset (new SubRipContent (film, node, version));
+ } else if (type == "DCP") {
+ content.reset (new DCPContent (film, node, version));
}
return content;