summaryrefslogtreecommitdiff
path: root/src/smpte_text_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-10 20:44:52 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-13 20:34:07 +0200
commit2795ab2e05fcd27a56ddb08ecbbc6af5c3bf983a (patch)
treedc66e7590728ace6fd2a7b0f90462f6da712e468 /src/smpte_text_asset.cc
parent97570ebdf7c0dc12a8218a143e2803ec7a792526 (diff)
Pass disk full / too many open files errors up to DoM.v1.10.26
Diffstat (limited to 'src/smpte_text_asset.cc')
-rw-r--r--src/smpte_text_asset.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smpte_text_asset.cc b/src/smpte_text_asset.cc
index 1e87474a..02ea9a16 100644
--- a/src/smpte_text_asset.cc
+++ b/src/smpte_text_asset.cc
@@ -466,7 +466,7 @@ SMPTETextAsset::write(boost::filesystem::path p) const
r = writer.WriteTimedTextResource (*_raw_xml, enc.context(), enc.hmac());
if (ASDCP_FAILURE (r)) {
- boost::throw_exception (MXFFileError ("could not write XML to timed text resource", p.string(), r));
+ throw_from_asdcplib(r, p, MXFFileError("could not write XML to timed text resource", p.string(), r));
}
/* Font payload */
@@ -483,7 +483,7 @@ SMPTETextAsset::write(boost::filesystem::path p) const
buffer.Size (j->data.size());
r = writer.WriteAncillaryResource (buffer, enc.context(), enc.hmac());
if (ASDCP_FAILURE(r)) {
- boost::throw_exception (MXFFileError ("could not write font to timed text resource", p.string(), r));
+ throw_from_asdcplib(r, p, MXFFileError("could not write font to timed text resource", p.string(), r));
}
}
}
@@ -497,7 +497,7 @@ SMPTETextAsset::write(boost::filesystem::path p) const
buffer.Size (si->png_image().size());
r = writer.WriteAncillaryResource (buffer, enc.context(), enc.hmac());
if (ASDCP_FAILURE(r)) {
- boost::throw_exception (MXFFileError ("could not write PNG data to timed text resource", p.string(), r));
+ throw_from_asdcplib(r, p, MXFFileError("could not write PNG data to timed text resource", p.string(), r));
}
}
}