Remove believed-misleading comment. v2.13.6
authorCarl Hetherington <cth@carlh.net>
Tue, 27 Mar 2018 00:06:56 +0000 (01:06 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 27 Mar 2018 00:06:56 +0000 (01:06 +0100)
src/lib/player.cc

index 44fe770ff0812a338ce2c251942a7fa385b31b01..8920b3e5bb62ca4ca83bf55098b576db575589d5 100644 (file)
@@ -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 (