Fix typo.
authorCarl Hetherington <cth@carlh.net>
Sat, 8 Feb 2014 18:46:32 +0000 (18:46 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 8 Feb 2014 18:46:32 +0000 (18:46 +0000)
src/asset.cc

index f6642d9c33f56588e523dad578a2afdc376257d8..d51b78fd50650a53d7432825cbfd6c357e4495b9 100644 (file)
@@ -60,7 +60,7 @@ Asset::write_to_pkl (xmlpp::Node* node, bool interop) const
        asset->add_child("Hash")->add_child_text (digest ());
        asset->add_child("Size")->add_child_text (lexical_cast<string> (filesystem::file_size(path())));
        if (interop) {
-               asset->add_child("Type")->add_child (String::compose ("application/x-smpte-mxf;asdcpKind=%1", asdcp_kind ()));
+               asset->add_child("Type")->add_child_text (String::compose ("application/x-smpte-mxf;asdcpKind=%1", asdcp_kind ()));
        } else {
                asset->add_child("Type")->add_child_text ("application/mxf");
        }