summaryrefslogtreecommitdiff
path: root/src/wx/closed_captions_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/closed_captions_dialog.h')
-rw-r--r--src/wx/closed_captions_dialog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/closed_captions_dialog.h b/src/wx/closed_captions_dialog.h
index 3da7f6522..3818e3812 100644
--- a/src/wx/closed_captions_dialog.h
+++ b/src/wx/closed_captions_dialog.h
@@ -20,6 +20,7 @@
#include "lib/dcpomatic_time.h"
#include "lib/player.h"
+#include "lib/text_ring_buffers.h"
#include <wx/wx.h>
class Butler;
@@ -36,7 +37,7 @@ public:
private:
void paint ();
- boost::optional<std::pair<PlayerText, DCPTimePeriod> > _current;
+ boost::optional<TextRingBuffers::Data> _current;
bool _current_in_lines;
std::vector<wxString> _lines;
boost::weak_ptr<Butler> _butler;