diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-05 01:15:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-05 01:15:45 +0100 |
| commit | 3a7b6acdb993864f319a6ceb3bc4c3fb7d4aaefd (patch) | |
| tree | 6f516185b6155b13cddfcd6be8fdf9e5bc52f86a /src/lib/active_text.h | |
| parent | 7c45c2c7b0904446bbc8cd175fe1deab54c61c15 (diff) | |
Get closed caption view data from the butler, rather than the player.
You can't introduce the butler (so that the player is ahead of time)
and then ask the player what should be in the frame that is being
displayed "now"; the player will already have moved on.
Diffstat (limited to 'src/lib/active_text.h')
| -rw-r--r-- | src/lib/active_text.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/active_text.h b/src/lib/active_text.h index 1dab7a867..ff4a1bd2f 100644 --- a/src/lib/active_text.h +++ b/src/lib/active_text.h @@ -37,7 +37,6 @@ class TextContent; class ActiveText : public boost::noncopyable { public: - std::list<PlayerText> get (DCPTimePeriod period) const; std::list<PlayerText> get_burnt (DCPTimePeriod period, bool always_burn_captions) const; void clear_before (DCPTime time); void clear (); @@ -63,8 +62,6 @@ private: typedef std::map<boost::weak_ptr<const TextContent>, std::list<Period> > Map; - void add (DCPTimePeriod period, std::list<PlayerText>& pc, std::list<Period> p) const; - mutable boost::mutex _mutex; Map _data; }; |
