diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-05 00:50:20 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-05 00:50:20 +0000 |
| commit | ff06669bc8c14abe40cd9590afc8391f19608424 (patch) | |
| tree | 42d7e185edee041b9ab9e496fbfa4e8ee55f677b /src/lib/video_content.cc | |
| parent | 278bfa265eed9b2fafec8b2bb5e92541a1bb23c1 (diff) | |
Fix strange behaviour with single-frame fades (#1440).
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 932977858..fe35b0df3 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -354,7 +354,9 @@ VideoContent::scale_and_crop_to_fit_height (shared_ptr<const Film> film) set_bottom_crop (0); } -/** @param f Frame index within the whole (untrimmed) content */ +/** @param f Frame index within the whole (untrimmed) content. + * @return Fade factor (between 0 and 1) or unset if there is no fade. + */ optional<double> VideoContent::fade (shared_ptr<const Film> film, Frame f) const { |
