Add LEQ(m) when analysing audio (#1382).
[dcpomatic.git] / src / wx / video_view.h
index ad492bd435fec51707c7786239c2a96ddd9c3580..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;
@@ -107,7 +112,7 @@ public:
 
 protected:
        bool get_next_frame (bool non_blocking);
-       int time_until_next_frame () const;
+       boost::optional<int> time_until_next_frame () const;
        dcpomatic::DCPTime one_video_frame () const;
 
        int video_frame_rate () const {
@@ -157,6 +162,7 @@ private:
        bool _three_d;
 
        int _dropped;
+       int _errored;
        int _gets;
 };