summaryrefslogtreecommitdiff
path: root/src/lib/writer.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-19 21:33:52 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:45:23 +0100
commit11fe3ab56ad59b8b5525fa795d44d2323ef6d5b8 (patch)
tree3bd7b96fee95bf6b34acdfbfdb47c92bfb5c818b /src/lib/writer.h
parent0ab83642f0c96ae2681beae04873b3226338a570 (diff)
Get types into ReelWriter.
Diffstat (limited to 'src/lib/writer.h')
-rw-r--r--src/lib/writer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/writer.h b/src/lib/writer.h
index c8d188834..484ca1285 100644
--- a/src/lib/writer.h
+++ b/src/lib/writer.h
@@ -104,7 +104,7 @@ public:
bool can_repeat (Frame) const;
void repeat (Frame, Eyes);
void write (boost::shared_ptr<const AudioBuffers>, DCPTime time);
- void write (PlayerText subs, DCPTimePeriod period);
+ void write (PlayerText text, TextType type, DCPTimePeriod period);
void write (std::list<boost::shared_ptr<Font> > fonts);
void write (ReferencedReelAsset asset);
void finish ();
@@ -124,7 +124,7 @@ private:
boost::weak_ptr<Job> _job;
std::vector<ReelWriter> _reels;
std::vector<ReelWriter>::iterator _audio_reel;
- std::vector<ReelWriter>::iterator _subtitle_reel;
+ std::vector<ReelWriter>::iterator _text_reel[TEXT_COUNT];
/** our thread, or 0 */
boost::thread* _thread;