Use vector for _pending_player_changes
authorCarl Hetherington <cth@carlh.net>
Tue, 9 Feb 2021 12:56:31 +0000 (13:56 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 9 Feb 2021 12:56:31 +0000 (13:56 +0100)
src/wx/film_viewer.h

index 909bf0ac70b262f881e3694ba13e66049d2d12ab..9cbedc7cb1b7f61592a23b7a9d8326ad7be4ca47 100644 (file)
@@ -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.
 
 
 */
 
+
 /** @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;