projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9c02c6
)
Another comment.
author
Carl Hetherington
<cth@carlh.net>
Tue, 22 Jul 2014 12:26:29 +0000
(13:26 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 22 Jul 2014 12:26:29 +0000
(13:26 +0100)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 0390418be8693d1d0d84e8815c2fe922105eaf41..0e15880024f9d0a1eb3ebbbcb9246a6509b3ae79 100644
(file)
--- 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);