diff options
Diffstat (limited to 'src/sound_asset.cc')
| -rw-r--r-- | src/sound_asset.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 80313e07..3546bb5b 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -161,7 +161,11 @@ SoundAsset::write_to_cpl (ostream& s) const { s << " <MainSound>\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" |
