summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-22 16:32:37 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-22 16:32:37 +0100
commit0f60e0f52c986f18764822de78b82b4163909f0c (patch)
tree9fd45bd68de68ee47551efcdcf955344ad1fc87a /src/lib/player.cc
parent7523c7f0ab64f075ca535071b780098f6c05fce6 (diff)
Option to draw a border around the content's image (#391).
Diffstat (limited to 'src/lib/player.cc')
-rw-r--r--src/lib/player.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 06f9e1365..e46d539f8 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -342,7 +342,7 @@ Player::get_video (DCPTime time, bool accurate)
return pvf;
}
- dcp::Size image_size = content->scale().size (content, _video_container_size, _film->frame_size ());
+ dcp::Size image_size = content->scale().size (content, _video_container_size, _film->frame_size (), _approximate_size ? 4 : 1);
if (_approximate_size) {
image_size.width &= ~3;
image_size.height &= ~3;