diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-09-10 20:44:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-13 20:34:07 +0200 |
| commit | 2795ab2e05fcd27a56ddb08ecbbc6af5c3bf983a (patch) | |
| tree | dc66e7590728ace6fd2a7b0f90462f6da712e468 /src/smpte_text_asset.cc | |
| parent | 97570ebdf7c0dc12a8218a143e2803ec7a792526 (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.cc | 6 |
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)); } } } |
