diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-09 13:56:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-09 13:56:31 +0100 |
| commit | a650d922e141930e40759cdbf97135321523ecb3 (patch) | |
| tree | 6929d15e28634684e0a131a6785ad920ff85e5be /src | |
| parent | 3c2e80996f01740175faca63583f4dff33586be1 (diff) | |
Use vector for _pending_player_changes
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 909bf0ac7..9cbedc7cb 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,10 +18,12 @@ */ + /** @file src/film_viewer.h * @brief FilmViewer class. */ + #include "video_view.h" #include "lib/film.h" #include "lib/config.h" @@ -33,6 +35,8 @@ DCPOMATIC_DISABLE_WARNINGS #include <wx/wx.h> DCPOMATIC_ENABLE_WARNINGS +#include <vector> + class wxToggleButton; class FFmpegPlayer; @@ -43,6 +47,7 @@ class Player; class Butler; class ClosedCaptionsDialog; + /** @class FilmViewer * @brief A wx widget to view a Film. */ @@ -167,7 +172,7 @@ private: VideoView* _video_view; bool _coalesce_player_changes; - std::list<int> _pending_player_changes; + std::vector<int> _pending_player_changes; /** Size of our output (including padding if we have any) */ dcp::Size _out_size; |
