summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index ed7795dad..aacede06e 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -89,6 +89,7 @@ private:
DCPTime time () const;
void start ();
bool stop ();
+ Frame average_latency () const;
boost::shared_ptr<Film> _film;
boost::shared_ptr<Player> _player;
@@ -130,5 +131,10 @@ private:
bool _playing;
boost::shared_ptr<Butler> _butler;
+ std::list<Frame> _latency_history;
+ /** Mutex to protect _latency_history */
+ mutable boost::mutex _latency_history_mutex;
+ int _latency_history_count;
+
boost::signals2::scoped_connection _config_changed_connection;
};