std::shared_ptr<Content> content;
if (type == "FFmpeg") {
- /* SndfileContent is now handled by the FFmpeg code rather than by
- separate libsndfile-based code.
- */
content = make_shared<FFmpegContent>(node, version, notes);
} else if (type == "Image") {
content = make_shared<ImageContent>(node, version);
);
} else if (type == "SubRip" || type == "TextSubtitle") {
- content.reset (new StringTextFileContent(node, version));
+ content = make_shared<StringTextFileContent>(node, version, notes);
} else if (type == "DCP") {
content = make_shared<DCPContent>(node, version);
} else if (type == "DCPSubtitle") {