projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c20560
)
Clear out _next_time when seeking, so out-of-date values don't
author
Carl Hetherington
<cth@carlh.net>
Wed, 14 Oct 2020 19:23:36 +0000
(21:23 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 14 Oct 2020 19:23:36 +0000
(21:23 +0200)
hang around. Part of the fix for #1857.
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 04c97ed3ba4d6b98cb87b706ec7ae47dea44ca6d..79fce30274b973ae4aa33a9504db21b798dd9e6e 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-416,6
+416,10
@@
DCPOMATIC_ENABLE_WARNINGS
}
_have_current_subtitle = false;
+
+ BOOST_FOREACH (optional<ContentTime>& i, _next_time) {
+ i = optional<ContentTime>();
+ }
}
void