summaryrefslogtreecommitdiff
path: root/src/lib/butler.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-28 23:34:56 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-29 11:58:06 +0100
commit1db0293ad36605da9ca8daa8736ef581f4f6a34e (patch)
treefb613032d7f8a1712cf10f99ebbf6215e4145c5a /src/lib/butler.h
parentec97893127a2d59871d92c9e658b6b1ab3100b40 (diff)
Basics of splitting CCAP streams into different assets.
Diffstat (limited to 'src/lib/butler.h')
-rw-r--r--src/lib/butler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h
index b10c93e79..4322c401d 100644
--- a/src/lib/butler.h
+++ b/src/lib/butler.h
@@ -43,7 +43,7 @@ public:
void seek (DCPTime position, bool accurate);
std::pair<boost::shared_ptr<PlayerVideo>, DCPTime> get_video ();
boost::optional<DCPTime> get_audio (float* out, Frame frames);
- boost::optional<std::pair<PlayerText, DCPTimePeriod> > get_closed_caption ();
+ boost::optional<TextRingBuffers::Data> get_closed_caption ();
void disable_audio ();
@@ -53,7 +53,7 @@ private:
void thread ();
void video (boost::shared_ptr<PlayerVideo> video, DCPTime time);
void audio (boost::shared_ptr<AudioBuffers> audio, DCPTime time);
- void text (PlayerText pt, TextType type, DCPTimePeriod period);
+ void text (PlayerText pt, TextType type, boost::optional<DCPTextTrack> track, DCPTimePeriod period);
bool should_run () const;
void prepare (boost::weak_ptr<PlayerVideo> video) const;
void player_change (ChangeType type, bool frequent);