From 472b7ac9d168685d0268b4941f9520e12d67dc23 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 19 Jul 2012 23:20:34 +0100 Subject: Fix bizarre quotation mark insertion by newer boost filesystem library. --- src/asset.cc | 4 ++-- src/picture_asset.cc | 2 +- src/sound_asset.cc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/asset.cc b/src/asset.cc index 51339071..0ad7b5b1 100644 --- a/src/asset.cc +++ b/src/asset.cc @@ -48,7 +48,7 @@ Asset::write_to_pkl (ostream& s) const { s << " \n" << " urn:uuid:" << _uuid << "\n" - << " " << filesystem::path(_mxf_path).filename() << "\n" + << " " << filesystem::path(_mxf_path).filename().string() << "\n" << " " << _digest << "\n" << " " << filesystem::file_size(_mxf_path) << "\n" << " application/mxf\n" @@ -62,7 +62,7 @@ Asset::write_to_assetmap (ostream& s) const << " urn:uuid:" << _uuid << "\n" << " \n" << " \n" - << " " << filesystem::path(_mxf_path).filename() << "\n" + << " " << filesystem::path(_mxf_path).filename().string() << "\n" << " 1\n" << " 0\n" << " " << filesystem::file_size(_mxf_path) << "\n" diff --git a/src/picture_asset.cc b/src/picture_asset.cc index 1620a1fa..40afc8b2 100644 --- a/src/picture_asset.cc +++ b/src/picture_asset.cc @@ -121,7 +121,7 @@ PictureAsset::write_to_cpl (ostream& s) const { s << " \n" << " urn:uuid:" << _uuid << "\n" - << " " << filesystem::path(_mxf_path).filename() << "\n" + << " " << filesystem::path(_mxf_path).filename().string() << "\n" << " " << _fps << " 1\n" << " " << _length << "\n" << " 0\n" diff --git a/src/sound_asset.cc b/src/sound_asset.cc index d2c451fb..80313e07 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -161,7 +161,7 @@ SoundAsset::write_to_cpl (ostream& s) const { s << " \n" << " urn:uuid:" << _uuid << "\n" - << " " << filesystem::path(_mxf_path).filename() << "\n" + << " " << filesystem::path(_mxf_path).filename().string() << "\n" << " " << _fps << " 1\n" << " " << _length << "\n" << " 0\n" -- cgit v1.2.3