From 3dfdd5795cf6514e15fdbece54c28f3bddc2aadc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 2 Jan 2014 13:02:30 +0000 Subject: Rationalise video/audio frame types. --- src/lib/util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util.cc') diff --git a/src/lib/util.cc b/src/lib/util.cc index 381c47a9a..e4fc24564 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -747,7 +747,7 @@ ensure_ui_thread () * @return Equivalent number of audio frames for `v'. */ int64_t -video_frames_to_audio_frames (VideoContent::Frame v, float audio_sample_rate, float frames_per_second) +video_frames_to_audio_frames (VideoFrame v, float audio_sample_rate, float frames_per_second) { return ((int64_t) v * audio_sample_rate / frames_per_second); } -- cgit v1.2.3