diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-24 23:31:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-24 23:31:06 +0100 |
| commit | b5dc08b66bc7e2340dd5a8a0156036a65a49f269 (patch) | |
| tree | 964b5d0f51ed3d5b0b1a745d7cc94fbaa7d27f26 /src | |
| parent | 208f598e2af83fe7be465680806c79af3da825d3 (diff) | |
Comment and an old function declaration removed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/subtitle.cc | 5 | ||||
| -rw-r--r-- | src/subtitle.h | 2 |
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 */ |
