summaryrefslogtreecommitdiff
path: root/src/lib/video_content.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/video_content.cc')
-rw-r--r--src/lib/video_content.cc4
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 ());
}