Primitive dropped frame count in display.
[dcpomatic.git] / src / wx / film_viewer.h
index c08409529569a8ca1c4becc9f5ed919da5f9c948..419ee4c294b1be9db7d8d23e91c98961446cb20c 100644 (file)
@@ -60,6 +60,10 @@ public:
 
        void refresh ();
 
+       int dropped () const {
+               return _dropped;
+       }
+
        int audio_callback (void* out, unsigned int frames);
 
        boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged;
@@ -142,5 +146,7 @@ private:
        mutable boost::mutex _latency_history_mutex;
        int _latency_history_count;
 
+       int _dropped;
+
        boost::signals2::scoped_connection _config_changed_connection;
 };