Get closed caption view data from the butler, rather than the player.
[dcpomatic.git] / src / lib / player.cc
index 68b3365ea5845eb9ddfce38a4c5ba622da4d880a..c1a6c0f3c92f3a665f598f96d70d42ee59667b4c 100644 (file)
@@ -724,15 +724,6 @@ Player::pass ()
        return done;
 }
 
-list<PlayerText>
-Player::closed_captions_for_frame (DCPTime time) const
-{
-       boost::mutex::scoped_lock _lm (_mutex);
-       return _active_texts[TEXT_CLOSED_CAPTION].get (
-               DCPTimePeriod(time, time + DCPTime::from_frames(1, _film->video_frame_rate()))
-               );
-}
-
 /** @return Open subtitles for the frame at the given time, converted to images */
 optional<PositionImage>
 Player::open_subtitles_for_frame (DCPTime time) const