X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer.cc;h=436ae3fe88fb33adaee5aacb1c2f3cfd99799b7f;hb=ae15eeca8588c6928d7671894db98c2e289fa601;hp=495d20533b3eb15947f8a199b34901700d07b5f3;hpb=a38095fc533b2620e375695024beca5f5540b10d;p=dcpomatic.git diff --git a/src/lib/player.cc b/src/lib/player.cc index 495d20533..436ae3fe8 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -71,7 +71,6 @@ Player::Player (shared_ptr f, shared_ptr p) : _film (f) , _playlist (p) , _have_valid_pieces (false) - , _approximate_size (false) , _ignore_video (false) { _playlist_changed_connection = _playlist->Changed.connect (bind (&Player::playlist_changed, this)); @@ -295,12 +294,6 @@ Player::transform_image_subtitles (list subs) const return all; } -void -Player::set_approximate_size () -{ - _approximate_size = true; -} - shared_ptr Player::black_player_video_frame (DCPTime time) const { @@ -352,7 +345,7 @@ Player::get_video (DCPTime time, bool accurate) return pvf; } - dcp::Size image_size = content->scale().size (content, _video_container_size, _film->frame_size (), _approximate_size ? 4 : 1); + dcp::Size image_size = content->scale().size (content, _video_container_size, _film->frame_size ()); for (list::const_iterator i = content_video.begin(); i != content_video.end(); ++i) { pvf.push_back (