diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-15 23:16:00 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-15 23:16:00 +0000 |
| commit | 318ed7eb3472cab3f05c7bc067126ca367db75d4 (patch) | |
| tree | fbb7a6e541465c9d2a83e75c7859d09b5247ef00 /src/exceptions.h | |
| parent | 73e2962cef1a003e26e7cc88df032743b3a83e46 (diff) | |
Check that all image data is present after loading a SMPTE subtitle asset.
If we load SMPTE subtitles from a XML file try to load PNG data
from the same directory; this feels like a hack.
Diffstat (limited to 'src/exceptions.h')
| -rw-r--r-- | src/exceptions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 4c54ac78..65271c16 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -222,6 +222,12 @@ public: CertificateChainError (std::string message); }; +class MissingSubtitleImageError : public std::runtime_error +{ +public: + MissingSubtitleImageError (std::string id); +}; + } #endif |
