X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_factory.cc;h=092efd7903d7dba9219c483c57a03307d6733945;hb=2e504b33eb9f38cac629ad31b7c107fb0cf5efda;hp=825c8049854ba3032519b7d27430560a18d9f8b8;hpb=015fe447cfe25babc55cf8ed282bb909e4713aa0;p=dcpomatic.git diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc index 825c80498..092efd790 100644 --- a/src/lib/content_factory.cc +++ b/src/lib/content_factory.cc @@ -25,17 +25,18 @@ #include "util.h" using std::string; +using std::list; using boost::shared_ptr; shared_ptr -content_factory (shared_ptr film, cxml::NodePtr node, int version) +content_factory (shared_ptr film, cxml::NodePtr node, int version, list& notes) { string const type = node->string_child ("Type"); boost::shared_ptr content; if (type == "FFmpeg") { - content.reset (new FFmpegContent (film, node, version)); + content.reset (new FFmpegContent (film, node, version, notes)); } else if (type == "Image") { content.reset (new ImageContent (film, node, version)); } else if (type == "Sndfile") {