summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-04-30 15:35:49 +0100
committerCarl Hetherington <cth@carlh.net>2015-04-30 15:35:49 +0100
commitea4b476dd21e99bbc292f7fc6db4e4ba578489c0 (patch)
tree607c4b0b625fa97e03ef5b42519b7fcba33f9461
parent8457e713b0d98cea32f8acc80d6b9f4bef64b343 (diff)
Fix incorrect VPosition in subtitles.
-rw-r--r--src/interop_subtitle_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_subtitle_content.cc b/src/interop_subtitle_content.cc
index 09711a7e..1018d85c 100644
--- a/src/interop_subtitle_content.cc
+++ b/src/interop_subtitle_content.cc
@@ -165,7 +165,7 @@ InteropSubtitleContent::xml_as_string () const
xmlpp::Element* text = subtitle_element->add_child ("Text");
text->set_attribute ("VAlign", valign_to_string (i->v_align()));
- text->set_attribute ("VPosition", raw_convert<string> (i->v_position(), 6));
+ text->set_attribute ("VPosition", raw_convert<string> (i->v_position() * 100, 6));
text->add_child_text (i->text());
}