diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-30 15:05:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-30 15:05:32 +0000 |
| commit | e3636952b0d443f61c2966450cc68bc25480dfe2 (patch) | |
| tree | 9f215a4400bccbb39257827a8e91b961dd0ed4a5 /src/lib/ffmpeg_decoder.cc | |
| parent | c191d7f6bf9dfae30a451f5cc3e434812fd43e6c (diff) | |
Tweak naming.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
