summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-15 09:43:41 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-15 09:43:41 +0000
commitbf59c288798851808359575662f202d390032aa7 (patch)
treecbf4f646a60787614e25eeeb3c436432a04ea739 /src/sound_asset.cc
parent39f0ae0efb3406357253d19bf7588f3832735d0b (diff)
Use MXFAsset::_interop to decide on whether to write asset XML as Interop or SMPTE.
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 7033f6af..0cc7cdba 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -150,7 +150,7 @@ SoundAsset::create (boost::function<boost::filesystem::path (Channel)> get_path)
frame_buffer.Size (ASDCP::PCM::CalcFrameBufferSize (audio_desc));
ASDCP::WriterInfo writer_info;
- MXFAsset::fill_writer_info (&writer_info, _uuid, _interop, _metadata);
+ MXFAsset::fill_writer_info (&writer_info, _uuid, _metadata);
ASDCP::PCM::MXFWriter mxf_writer;
r = mxf_writer.OpenWrite (path().string().c_str(), writer_info, audio_desc);
@@ -332,7 +332,7 @@ SoundAssetWriter::SoundAssetWriter (SoundAsset* a)
_state->frame_buffer.Size (ASDCP::PCM::CalcFrameBufferSize (_state->audio_desc));
memset (_state->frame_buffer.Data(), 0, _state->frame_buffer.Capacity());
- _asset->fill_writer_info (&_state->writer_info, _asset->uuid (), _asset->interop(), _asset->metadata());
+ _asset->fill_writer_info (&_state->writer_info, _asset->uuid (), _asset->metadata());
Kumu::Result_t r = _state->mxf_writer.OpenWrite (_asset->path().string().c_str(), _state->writer_info, _state->audio_desc);
if (ASDCP_FAILURE (r)) {