diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-10-03 20:53:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-10-03 23:41:02 +0200 |
| commit | 70b72b53eab0f247eb4dc605a2d669d4adb4e469 (patch) | |
| tree | af117017f084fc2fedf0e2eaad667cda7d832b64 /src/lib/player_video.cc | |
| parent | c2a17a87868eba87072fc369102b2b3cd8905e5a (diff) | |
Differentiate requested and actual crop.
This is so we limit cropping to what is possible considering
chroma subsampling.
Diffstat (limited to 'src/lib/player_video.cc')
| -rw-r--r-- | src/lib/player_video.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player_video.cc b/src/lib/player_video.cc index 7c36af31b..c9bc2dcde 100644 --- a/src/lib/player_video.cc +++ b/src/lib/player_video.cc @@ -343,7 +343,7 @@ PlayerVideo::reset_metadata (shared_ptr<const Film> film, dcp::Size player_video return false; } - _crop = content->video->crop(); + _crop = content->video->actual_crop(); _fade = content->video->fade(film, _video_frame.get()); _inter_size = scale_for_display(content->video->scaled_size(film->frame_size()), player_video_container_size, film->frame_size()); _out_size = player_video_container_size; |
