From f1bf21a9c2581591ab80bfc997a22b93046f8c56 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 21 Jun 2013 17:38:50 +0100 Subject: Split examiner parts off decoder. --- src/lib/video_decoder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/video_decoder.cc') 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, 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() ); -- cgit v1.2.3