diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-31 01:53:44 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-31 01:53:44 +0000 |
| commit | 3ed5df31baed21633d0db9167cd75562f384dec7 (patch) | |
| tree | 6572255be2e6e9ca74fda5014429a4a19d236d97 /src/lib/ffmpeg_decoder.cc | |
| parent | d5073736c5971ab35b20a195c52f70c3832b2cac (diff) | |
Fix up parent / child member naming confusion.
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 5b96d899a..a9db6f489 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -285,7 +285,7 @@ FFmpegDecoder::do_pass () if (avcodec_decode_video2 (_video_codec_context, _video_frame[_this_video_frame], &frame_finished, &_packet) >= 0 && frame_finished) { /* Where we are in the output, in seconds */ - double const out_pts_seconds = video_frame() / frames_per_second(); + double const out_pts_seconds = video_frame_index() / frames_per_second(); /* Difference between where we are and where we should be */ double const delta = pts_seconds - out_pts_seconds; |
