X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fplayer.cc;h=0a4eb54e7aa09367b374011d5c7a490ee10405eb;hb=44c918a83e1e64922448ba20b5dfdcf30d026f84;hp=bc13d6ab2ad72e8dd19f5fb4cdebccd2e3490755;hpb=a788f3c1e29a6b8329d54e1518f3b84d68d347d5;p=dcpomatic.git diff --git a/src/lib/player.cc b/src/lib/player.cc index bc13d6ab2..0a4eb54e7 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -551,19 +551,6 @@ Player::dcp_to_content_subtitle (shared_ptr piece, DCPTime t) const return max (ContentTime (), ContentTime (s, piece->frc) + piece->content->trim_start()); } -void -PlayerStatistics::dump (shared_ptr log) const -{ - log->log (String::compose ("Video: %1 good %2 skipped %3 black %4 repeat", video.good, video.skip, video.black, video.repeat), Log::TYPE_GENERAL); - log->log (String::compose ("Audio: %1 good %2 skipped %3 silence", audio.good, audio.skip, audio.silence.seconds()), Log::TYPE_GENERAL); -} - -PlayerStatistics const & -Player::statistics () const -{ - return _statistics; -} - /** @param burnt true to return only subtitles to be burnt, false to return only * subtitles that should not be burnt. This parameter will be ignored if * _always_burn_subtitles is true; in this case, all subtitles will be returned.