From 89e493e675bc53284087151e9cdb06efb9b7d346 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 26 Aug 2022 00:16:38 +0200 Subject: fixup! Rather hacky support for burnt subtitle Z-position in 3D (#1359). Reduce the scale a bit. --- src/lib/player.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/player.cc b/src/lib/player.cc index b209cc86a..187581551 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -881,9 +881,9 @@ Player::open_subtitles_for_frame (DCPTime time, Eyes eyes) const if (!burnt.string.empty()) { int stereo_offset = 0; if (eyes == Eyes::LEFT) { - stereo_offset = -burnt.z_position; + stereo_offset = -burnt.z_position / 10; } else if (eyes == Eyes::RIGHT) { - stereo_offset = burnt.z_position; + stereo_offset = burnt.z_position / 10; } for (auto subtitle: render_text(burnt.string, _video_container_size, time, vfr)) { subtitle.position.x += stereo_offset; -- cgit v1.2.3