summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-21 17:38:50 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-21 17:38:50 +0100
commitf1bf21a9c2581591ab80bfc997a22b93046f8c56 (patch)
tree7c0db304d310e656fcaf4766a6c3b27e98df25b1 /src/lib/video_decoder.cc
parent01791aac0b11e9f296cd31a7803e287203bd8355 (diff)
Split examiner parts off decoder.
Diffstat (limited to 'src/lib/video_decoder.cc')
-rw-r--r--src/lib/video_decoder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc
index 54d14e2c6..fcc0ccf41 100644
--- a/src/lib/video_decoder.cc
+++ b/src/lib/video_decoder.cc
@@ -69,8 +69,8 @@ VideoDecoder::video (shared_ptr<Image> image, bool same, Time t)
if (sub) {
dcpomatic::Rect const tx = subtitle_transformed_area (
- float (image_size.width) / video_size().width,
- float (image_size.height) / video_size().height,
+ float (image_size.width) / _video_content->video_size().width,
+ float (image_size.height) / _video_content->video_size().height,
sub->area(), film->subtitle_offset(), film->subtitle_scale()
);