diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-12-03 09:31:35 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-12-03 09:31:35 +0000 |
| commit | dd4f004b40c3d48f984c24b63421f42c12dbf9cf (patch) | |
| tree | 0e13faf6e08b3955886a5465ca7646fe8c2371d4 /src/lib/subtitle_decoder.cc | |
| parent | e2f56d8e5428e1d18596c229aae8b62cd6bc9ecc (diff) | |
Hand apply a484114b80f21f2f786b6142ad950f5295249673 from master;
comments.
Diffstat (limited to 'src/lib/subtitle_decoder.cc')
| -rw-r--r-- | src/lib/subtitle_decoder.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/subtitle_decoder.cc b/src/lib/subtitle_decoder.cc index e1485e221..9b2aa8ab0 100644 --- a/src/lib/subtitle_decoder.cc +++ b/src/lib/subtitle_decoder.cc @@ -34,6 +34,9 @@ SubtitleDecoder::SubtitleDecoder (shared_ptr<const SubtitleContent> c) /** Called by subclasses when an image subtitle is ready. * Image may be 0 to say that there is no current subtitle. + * @param rect Area expressed as a fraction of the video frame that this subtitle + * is for (e.g. a width of 0.5 means the width of the subtitle is half the width + * of the video frame) */ void SubtitleDecoder::image_subtitle (ContentTimePeriod period, shared_ptr<Image> image, dcpomatic::Rect<double> rect) |
