X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubtitle_decoder.cc;h=9b2aa8ab04198f8108606474897c2445973dfc93;hb=7a1bd472537fee593a3f088655324861d24e804b;hp=e1485e221d70807109e3803b0493c9d8524fe974;hpb=12efbd5938f08eb445b43f539fa4f27aa5caccfb;p=dcpomatic.git 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 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, dcpomatic::Rect rect)