summaryrefslogtreecommitdiff
path: root/src/subtitle.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-24 23:31:06 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-24 23:31:06 +0100
commitb5dc08b66bc7e2340dd5a8a0156036a65a49f269 (patch)
tree964b5d0f51ed3d5b0b1a745d7cc94fbaa7d27f26 /src/subtitle.cc
parent208f598e2af83fe7be465680806c79af3da825d3 (diff)
Comment and an old function declaration removed.
Diffstat (limited to 'src/subtitle.cc')
-rw-r--r--src/subtitle.cc5
1 files changed, 5 insertions, 0 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)
{