diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-20 02:42:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-20 02:42:23 +0100 |
| commit | d92919284b25526581f5a3f461f1e06106b91a09 (patch) | |
| tree | d7f44a387d4c0ad52d8110bdd26d67620b3a6631 /src/picture_asset.cc | |
| parent | 472b7ac9d168685d0268b4941f9520e12d67dc23 (diff) | |
Try to work on old versions of boost filesystem.
Diffstat (limited to 'src/picture_asset.cc')
| -rw-r--r-- | src/picture_asset.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/picture_asset.cc b/src/picture_asset.cc index 40afc8b2..eb06012f 100644 --- a/src/picture_asset.cc +++ b/src/picture_asset.cc @@ -121,7 +121,11 @@ PictureAsset::write_to_cpl (ostream& s) const { s << " <MainPicture>\n" << " <Id>urn:uuid:" << _uuid << "</Id>\n" +#if BOOST_FILESYSTEM_VERSION == 3 << " <AnnotationText>" << filesystem::path(_mxf_path).filename().string() << "</AnnotationText>\n" +#else + << " <AnnotationText>" << filesystem::path(_mxf_path).filename() << "</AnnotationText>\n" +#endif << " <EditRate>" << _fps << " 1</EditRate>\n" << " <IntrinsicDuration>" << _length << "</IntrinsicDuration>\n" << " <EntryPoint>0</EntryPoint>\n" |
