X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent_factory.cc;h=b64c1b9a3d6f383fed236e6e79cf4f8622d86f29;hb=c162f9d8b127f56b8da46b83908000611033e6a5;hp=9f88caf468a1c0b475803ce1032a557a2cb7d2f3;hpb=c269ebfdae53a2f5c5e9acc6f6588ebb47eeac9d;p=dcpomatic.git diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc index 9f88caf46..b64c1b9a3 100644 --- a/src/lib/content_factory.cc +++ b/src/lib/content_factory.cc @@ -88,7 +88,7 @@ content_factory (cxml::ConstNodePtr node, int version, list& notes) ); } else if (type == "SubRip" || type == "TextSubtitle") { - content.reset (new StringTextFileContent(node, version)); + content = make_shared(node, version, notes); } else if (type == "DCP") { content = make_shared(node, version); } else if (type == "DCPSubtitle") {