projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818d31f
)
Fix previous.
author
Carl Hetherington
<cth@carlh.net>
Mon, 15 Dec 2014 10:33:09 +0000
(10:33 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 15 Dec 2014 10:33:09 +0000
(10:33 +0000)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 810aa775bda70082b8fc51a4979489e72d74c48d..62a3a78c3318d449be2cd37f48d4aa3c3c9e26b9 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-101,8
+101,8
@@
FFmpegDecoder::FFmpegDecoder (shared_ptr<const FFmpegContent> c, shared_ptr<Log>
I don't think we ever want to do that, as it seems things at -ve PTS are not meant
to be seen (use for alignment bars etc.); see mantis #418.
*/
- if (_pts_offset >
0
) {
- _pts_offset =
0
;
+ if (_pts_offset >
ContentTime ()
) {
+ _pts_offset =
ContentTime ()
;
}
/* Now adjust both so that the video pts starts on a frame */