diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-02 13:02:30 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-02 13:02:30 +0000 |
| commit | 3dfdd5795cf6514e15fdbece54c28f3bddc2aadc (patch) | |
| tree | 0b6a71d8d5c8be03ff424da5c5b0b42fb5f3018a /src/lib/ffmpeg_examiner.cc | |
| parent | 30e45dd697afc053f2d7be4ee2bc154e5061ad80 (diff) | |
Rationalise video/audio frame types.
Diffstat (limited to 'src/lib/ffmpeg_examiner.cc')
| -rw-r--r-- | src/lib/ffmpeg_examiner.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc index 78b6e3121..e86a82fad 100644 --- a/src/lib/ffmpeg_examiner.cc +++ b/src/lib/ffmpeg_examiner.cc @@ -135,10 +135,10 @@ FFmpegExaminer::video_size () const } /** @return Length (in video frames) according to our content's header */ -VideoContent::Frame +VideoFrame FFmpegExaminer::video_length () const { - VideoContent::Frame const length = (double (_format_context->duration) / AV_TIME_BASE) * video_frame_rate(); + VideoFrame const length = (double (_format_context->duration) / AV_TIME_BASE) * video_frame_rate(); return max (1, length); } |
