summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-22 13:16:12 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-22 13:16:12 +0100
commitf9c02c698e0299a42b4c395f30952487035fa86c (patch)
treea6a0abc15204dfac9a982516f4b19db4c6e57550 /src/lib/ffmpeg_decoder.cc
parentddf79cae097ff15dc299d97d201e24181b928799 (diff)
Add a comment.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
-rw-r--r--src/lib/ffmpeg_decoder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc
index dd47d306a..0390418be 100644
--- a/src/lib/ffmpeg_decoder.cc
+++ b/src/lib/ffmpeg_decoder.cc
@@ -300,6 +300,8 @@ FFmpegDecoder::seek (ContentTime time, bool accurate)
time = ContentTime (0);
}
+ /* XXX: it seems debatable whether PTS should be used here... */
+
ContentTime const u = time - _pts_offset;
int64_t s = u.seconds() / av_q2d (_format_context->streams[_video_stream]->time_base);