diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-27 01:06:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-27 01:06:56 +0100 |
| commit | 05502433d24e916bd99db3bac26b4903f961da06 (patch) | |
| tree | 412fd764e4abe130a89e250b29a702050ac17b8e | |
| parent | e7d33e47910f9e9e9846d284314a0dfd79265b1e (diff) | |
Remove believed-misleading comment.v2.13.6
| -rw-r--r-- | src/lib/player.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 44fe770ff..8920b3e5b 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -301,18 +301,6 @@ Player::transform_image_subtitles (list<ImageSubtitle> subs) const /* We will scale the subtitle up to fit _video_container_size */ dcp::Size scaled_size (i->rectangle.width * _video_container_size.width, i->rectangle.height * _video_container_size.height); - /* Then we need a corrective translation, consisting of two parts: - * - * 1. that which is the result of the scaling of the subtitle by _video_container_size; this will be - * rect.x * _video_container_size.width and rect.y * _video_container_size.height. - * - * 2. that to shift the origin of the scale by subtitle_scale to the centre of the subtitle; this will be - * (width_before_subtitle_scale * (1 - subtitle_x_scale) / 2) and - * (height_before_subtitle_scale * (1 - subtitle_y_scale) / 2). - * - * Combining these two translations gives these expressions. - */ - all.push_back ( PositionImage ( i->image->scale ( |
