diff options
Diffstat (limited to 'src/lib/video_decoder.cc')
| -rw-r--r-- | src/lib/video_decoder.cc | 4 |
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() ); |
