diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-17 16:33:43 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-17 16:33:43 +0100 |
| commit | 0e7591e3bf95d4abe08d854850b6fc4e411586b0 (patch) | |
| tree | e65ea79ca879d62051f46fae8686f71620a87d3e /src/asset.cc | |
| parent | eaac013b4e68dea48fb2c3070b7c7ca59dfd1b96 (diff) | |
Various testing tweaks.
Diffstat (limited to 'src/asset.cc')
| -rw-r--r-- | src/asset.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/asset.cc b/src/asset.cc index d4214d5f..6b4c3fe4 100644 --- a/src/asset.cc +++ b/src/asset.cc @@ -46,11 +46,13 @@ Asset::Asset (string p, int fps, int len) void Asset::write_to_pkl (ostream& s) const { - s << " <Id>urn:uuid:" << _uuid << "</Id>\n" + s << " <Asset>\n" + << " <Id>urn:uuid:" << _uuid << "</Id>\n" << " <AnnotationText>" << filesystem::path(_mxf_path).filename() << "</AnnotationText>\n" << " <Hash>" << _digest << "</Hash>\n" << " <Size>" << filesystem::file_size(_mxf_path) << "</Size>\n" - << " <Type>application/mxf</Type>\n"; + << " <Type>application/mxf</Type>\n" + << " </Asset>\n"; } void |
