X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer.cc;h=c1a6c0f3c92f3a665f598f96d70d42ee59667b4c;hb=3a7b6acdb993864f319a6ceb3bc4c3fb7d4aaefd;hp=68b3365ea5845eb9ddfce38a4c5ba622da4d880a;hpb=7c45c2c7b0904446bbc8cd175fe1deab54c61c15;p=dcpomatic.git diff --git a/src/lib/player.cc b/src/lib/player.cc index 68b3365ea..c1a6c0f3c 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -724,15 +724,6 @@ Player::pass () return done; } -list -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 Player::open_subtitles_for_frame (DCPTime time) const