projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e4c4c4
)
Hide an expected error from asdcplib.
author
Carl Hetherington
<cth@carlh.net>
Thu, 3 Sep 2020 10:05:05 +0000
(12:05 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 20 Sep 2020 17:32:42 +0000
(19:32 +0200)
src/smpte_subtitle_asset.cc
patch
|
blob
|
history
diff --git
a/src/smpte_subtitle_asset.cc
b/src/smpte_subtitle_asset.cc
index 6a62bc1dee3109e1a9d6f8040d14628c1234bd49..cf0ed6c0c38616f8f0ad16c733f6358b795d3dad 100644
(file)
--- a/
src/smpte_subtitle_asset.cc
+++ b/
src/smpte_subtitle_asset.cc
@@
-86,7
+86,11
@@
SMPTESubtitleAsset::SMPTESubtitleAsset (boost::filesystem::path file)
shared_ptr<cxml::Document> xml (new cxml::Document ("SubtitleReel"));
shared_ptr<ASDCP::TimedText::MXFReader> reader (new ASDCP::TimedText::MXFReader ());
- Kumu::Result_t r = reader->OpenRead (_file->string().c_str ());
+ Kumu::Result_t r = Kumu::RESULT_OK;
+ {
+ ASDCPErrorSuspender sus;
+ r = reader->OpenRead (_file->string().c_str ());
+ }
if (!ASDCP_FAILURE (r)) {
/* MXF-wrapped */
ASDCP::WriterInfo info;