From e3636952b0d443f61c2966450cc68bc25480dfe2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 30 Oct 2012 15:05:32 +0000 Subject: Tweak naming. --- src/lib/ffmpeg_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ffmpeg_decoder.cc') diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 221f5d9d7..023b6d540 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -267,7 +267,7 @@ FFmpegDecoder::do_pass () if (avcodec_decode_video2 (_video_codec_context, _frame, &frame_finished, &_packet) >= 0 && frame_finished) { /* Where we are in the output, in seconds */ - double const out_pts_seconds = last_video_frame() / frames_per_second(); + double const out_pts_seconds = video_frame() / frames_per_second(); /* Difference between where we are and where we should be */ double const delta = pts_seconds - out_pts_seconds; -- cgit v1.2.3