summaryrefslogtreecommitdiff
path: root/src/wx/video_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/video_view.h')
-rw-r--r--src/wx/video_view.h6
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;
};