projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak SubRip subtitle default position.
[dcpomatic.git]
/
src
/
lib
/
subrip_decoder.cc
diff --git
a/src/lib/subrip_decoder.cc
b/src/lib/subrip_decoder.cc
index a9065994b8cdf2dfce66dcbb4b682aebe7adf5f7..2f8b8a5f36f4bccaa64543861cd58881f9c47421 100644
(file)
--- a/
src/lib/subrip_decoder.cc
+++ b/
src/lib/subrip_decoder.cc
@@
-87,10
+87,10
@@
SubRipDecoder::pass (PassReason, bool)
dcp::Time (_subtitles[_next].to.all_as_seconds(), 1000),
0,
dcp::HALIGN_CENTER,
dcp::Time (_subtitles[_next].to.all_as_seconds(), 1000),
0,
dcp::HALIGN_CENTER,
- /* This
0.9
5 is an arbitrary value to lift the bottom sub off the bottom
- of the screen a bit.
+ /* This
1.01
5 is an arbitrary value to lift the bottom sub off the bottom
+ of the screen a bit
to a pleasing degree
.
*/
*/
-
0.9
5 - ((1 + highest - i.vertical_position.line.get()) * 1.5 / 22),
+
1.01
5 - ((1 + highest - i.vertical_position.line.get()) * 1.5 / 22),
dcp::VALIGN_TOP,
j.text,
content->outline() ? dcp::BORDER : dcp::NONE,
dcp::VALIGN_TOP,
j.text,
content->outline() ? dcp::BORDER : dcp::NONE,