summaryrefslogtreecommitdiff
path: root/src/lib/player_video.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-03 20:53:44 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-03 23:41:02 +0200
commit70b72b53eab0f247eb4dc605a2d669d4adb4e469 (patch)
treeaf117017f084fc2fedf0e2eaad667cda7d832b64 /src/lib/player_video.cc
parentc2a17a87868eba87072fc369102b2b3cd8905e5a (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.cc2
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;