summaryrefslogtreecommitdiff
path: root/src/lib/player_video.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-02 11:34:01 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-02 11:34:01 +0200
commit6d1a6b588c1c8add26a42dafc971146462cfccf0 (patch)
tree4ce47b80f6e161650182d4d8efb1d52d88b94c85 /src/lib/player_video.cc
parentfae11d166fd4f1d56ce8cfe59a3af78feb336733 (diff)
Replace crop() with actual_crop and requested_crop()yuv-cropping
This means that the crop rounding we do is reported properly, not done behind the user's back.
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 b0e75972c..4285bba7c 100644
--- a/src/lib/player_video.cc
+++ b/src/lib/player_video.cc
@@ -336,7 +336,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;