summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/subtitle.cc5
-rw-r--r--src/subtitle.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/subtitle.cc b/src/subtitle.cc
index 26c4fd9..105bf31 100644
--- a/src/subtitle.cc
+++ b/src/subtitle.cc
@@ -49,6 +49,11 @@ sub::convert_font_sizes (list<Subtitle>& subs, int screen_height_in_points)
}
}
+/** Take a list of Subtitles and convert their times either from metric to frame, or vice-versa,
+ * depending on what the Subtitles currently have.
+ * @param sub Subtitles.
+ * @param frames_per_second Video frames-per-second value to use in the conversion.
+ */
void
sub::convert_times (list<Subtitle>& subs, float frames_per_second)
{
diff --git a/src/subtitle.h b/src/subtitle.h
index 889f405..7729064 100644
--- a/src/subtitle.h
+++ b/src/subtitle.h
@@ -51,8 +51,6 @@ public:
boost::optional<float> proportional;
/** in points */
boost::optional<int> points;
-
- void convert ();
} font_size;
/** vertical position of the baseline of the text */