summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-09-07 17:28:30 +0100
committerCarl Hetherington <cth@carlh.net>2012-09-07 17:28:30 +0100
commita680f27bddf78d7dcbe52ddb4f8e3e9194d85fd5 (patch)
tree6a39e47781577278dca9c6e44bdfc236c2d65e26 /src/sound_asset.cc
parentd406283ff669a33973b43839da6200d972d25f2a (diff)
Tweaks to dcpinfo.
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 732bb610..a41e5b67 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -62,7 +62,7 @@ SoundAsset::SoundAsset (string directory, string mxf_name, int fps, int entry_po
{
ASDCP::PCM::MXFReader reader;
if (ASDCP_FAILURE (reader.OpenRead (path().string().c_str()))) {
- throw FileError ("could not open MXF file for reading", path().string());
+ throw MXFFileError ("could not open MXF file for reading", path().string());
}
@@ -202,13 +202,13 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt) const
ASDCP::PCM::MXFReader reader_A;
if (ASDCP_FAILURE (reader_A.OpenRead (path().string().c_str()))) {
cout << "failed " << path() << "\n";
- throw FileError ("could not open MXF file for reading", path().string());
+ throw MXFFileError ("could not open MXF file for reading", path().string());
}
ASDCP::PCM::MXFReader reader_B;
if (ASDCP_FAILURE (reader_B.OpenRead (other->path().string().c_str()))) {
cout << "failed " << other->path() << "\n";
- throw FileError ("could not open MXF file for reading", path().string());
+ throw MXFFileError ("could not open MXF file for reading", path().string());
}
ASDCP::PCM::AudioDescriptor desc_A;