diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-26 16:47:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-26 22:32:11 +0100 |
| commit | f188128e2577942f030374631d3cf1324a00624a (patch) | |
| tree | 72c1b82d5b7f90069b7ba2a05e8b209cd527c3e4 /src/lib/video_content.cc | |
| parent | c4ea2ff06b31ccd20daadbdc968e397eb13a7e36 (diff) | |
{Video,Audio}Frame -> Frame.
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 9f3d78291..db9a2a5e8 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -483,7 +483,7 @@ VideoContent::set_video_frame_rate (float r) } optional<float> -VideoContent::fade (VideoFrame f) const +VideoContent::fade (Frame f) const { DCPOMATIC_ASSERT (f >= 0); @@ -491,7 +491,7 @@ VideoContent::fade (VideoFrame f) const return float (f) / _fade_in.frames (video_frame_rate ()); } - VideoFrame fade_out_start = ContentTime (video_length() - fade_out()).frames (video_frame_rate ()); + Frame fade_out_start = ContentTime (video_length() - fade_out()).frames (video_frame_rate ()); if (f >= fade_out_start) { return 1 - float (f - fade_out_start) / fade_out().frames (video_frame_rate ()); } |
