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/wx/video_view.h | |
| parent | 3b31d2d8a129ae6d8d267427bd6b5bc444b40b2a (diff) | |
Ignore and report failures to decode frames during playback (#1593).
Diffstat (limited to 'src/wx/video_view.h')
| -rw-r--r-- | src/wx/video_view.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/video_view.h b/src/wx/video_view.h index f9e067043..50ea40fc7 100644 --- a/src/wx/video_view.h +++ b/src/wx/video_view.h @@ -66,6 +66,11 @@ public: return _dropped; } + int errored () const { + boost::mutex::scoped_lock lm (_mutex); + return _errored; + } + int gets () const { boost::mutex::scoped_lock lm (_mutex); return _gets; @@ -157,6 +162,7 @@ private: bool _three_d; int _dropped; + int _errored; int _gets; }; |
