summaryrefslogtreecommitdiff
path: root/src/lib/subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-10 20:29:00 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-10 20:29:00 +0100
commit320a74efb8d9c8aacded2799459a92d5b7235d90 (patch)
tree1f547cb3cde20bd025dabddc6209390e22826b6a /src/lib/subtitle_content.cc
parent623f3c66821d6a99bf0e683a8072b99a168f3a1c (diff)
Make subtitles work at least a bit.
Diffstat (limited to 'src/lib/subtitle_content.cc')
-rw-r--r--src/lib/subtitle_content.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/subtitle_content.cc b/src/lib/subtitle_content.cc
index c8de9887e..9fefbbfcd 100644
--- a/src/lib/subtitle_content.cc
+++ b/src/lib/subtitle_content.cc
@@ -52,7 +52,7 @@ SubtitleContent::as_xml (xmlpp::Node* root) const
}
void
-SubtitleContent::set_subtitle_offset (int o)
+SubtitleContent::set_subtitle_offset (double o)
{
{
boost::mutex::scoped_lock lm (_mutex);
@@ -62,7 +62,7 @@ SubtitleContent::set_subtitle_offset (int o)
}
void
-SubtitleContent::set_subtitle_scale (float s)
+SubtitleContent::set_subtitle_scale (double s)
{
{
boost::mutex::scoped_lock lm (_mutex);