summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-21 21:02:51 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-21 21:02:51 +0000
commite04553be273a10e7face6f8f245d9a37e05454d2 (patch)
treec7ad2c97e224a13483612fee8a93a524a39055ab /src/sound_asset.cc
parentc21da9cdd8284e8d36a08bc7976744a3cd74bede (diff)
parent102c567af0eaa478f062971ae8dd5f6891e1457d (diff)
Merge master.
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 08ca71e5..b7253917 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -353,7 +353,7 @@ SoundAssetWriter::SoundAssetWriter (SoundAsset* a)
MXFAsset::fill_writer_info (&_state->writer_info, _asset->uuid ());
- if (ASDCP_FAILURE (_state->mxf_writer.OpenWrite (_asset->path().c_str(), _state->writer_info, _state->audio_desc))) {
+ if (ASDCP_FAILURE (_state->mxf_writer.OpenWrite (_asset->path().string().c_str(), _state->writer_info, _state->audio_desc))) {
throw FileError ("could not open audio MXF for writing", _asset->path().string());
}
}