summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 9a738a08..ed815eda 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -120,7 +120,7 @@ SoundAsset::construct (sigc::slot<string, Channel> get_path)
fill_writer_info (&writer_info);
ASDCP::PCM::MXFWriter mxf_writer;
- if (ASDCP_FAILURE (mxf_writer.OpenWrite (mxf_path().c_str(), writer_info, audio_desc))) {
+ if (ASDCP_FAILURE (mxf_writer.OpenWrite (mxf_path().string().c_str(), writer_info, audio_desc))) {
throw FileError ("could not open audio MXF for writing", mxf_path().string());
}
@@ -183,13 +183,13 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityFlags flags) const
if (flags & MXF_INSPECT) {
ASDCP::PCM::MXFReader reader_A;
- if (ASDCP_FAILURE (reader_A.OpenRead (mxf_path().c_str()))) {
+ if (ASDCP_FAILURE (reader_A.OpenRead (mxf_path().string().c_str()))) {
cout << "failed " << mxf_path() << "\n";
throw FileError ("could not open MXF file for reading", mxf_path().string());
}
ASDCP::PCM::MXFReader reader_B;
- if (ASDCP_FAILURE (reader_B.OpenRead (other->mxf_path().c_str()))) {
+ if (ASDCP_FAILURE (reader_B.OpenRead (other->mxf_path().string().c_str()))) {
cout << "failed " << other->mxf_path() << "\n";
throw FileError ("could not open MXF file for reading", mxf_path().string());
}