diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-14 22:16:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-14 22:16:27 +0200 |
| commit | 4ab86ef0295bcd6bb9297996a06006f371d22bae (patch) | |
| tree | fefc1706a67a10f6aa1a7c5d576e5cb8826ce950 /src/lib/j2k_image_proxy.h | |
| parent | 3b31d2d8a129ae6d8d267427bd6b5bc444b40b2a (diff) | |
Ignore and report failures to decode frames during playback (#1593).
Diffstat (limited to 'src/lib/j2k_image_proxy.h')
| -rw-r--r-- | src/lib/j2k_image_proxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/j2k_image_proxy.h b/src/lib/j2k_image_proxy.h index ec99e71a9..78f291e5d 100644 --- a/src/lib/j2k_image_proxy.h +++ b/src/lib/j2k_image_proxy.h @@ -85,4 +85,6 @@ private: AVPixelFormat _pixel_format; mutable boost::mutex _mutex; boost::optional<int> _forced_reduction; + /** true if an error occurred while decoding the JPEG2000 data, false if not */ + mutable bool _error; }; |
