diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-22 13:26:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-22 13:26:29 +0100 |
| commit | ebd735b9ccbf4b959029da0a6cc33bb01fb3bcdd (patch) | |
| tree | 18de7b501182d3758b0d43229ca6e3968c3e6615 /src/lib/ffmpeg_decoder.cc | |
| parent | f9c02c698e0299a42b4c395f30952487035fa86c (diff) | |
Another comment.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 0390418be..0e1588002 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -300,7 +300,9 @@ FFmpegDecoder::seek (ContentTime time, bool accurate) time = ContentTime (0); } - /* XXX: it seems debatable whether PTS should be used here... */ + /* XXX: it seems debatable whether PTS should be used here... + http://www.mjbshaw.com/2012/04/seeking-in-ffmpeg-know-your-timestamp.html + */ ContentTime const u = time - _pts_offset; int64_t s = u.seconds() / av_q2d (_format_context->streams[_video_stream]->time_base); |
