Ignore and report failures to decode frames during playback (#1593).
[dcpomatic.git] / src / wx / video_view.h
index f9e0670435ed13edaa2e919cc373e11d12a0a48d..50ea40fc76e081ae7ba16711d3a1c2adfdf9b66f 100644 (file)
@@ -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;
 };