projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e13b66
)
Fix warning.
author
Carl Hetherington
<cth@carlh.net>
Fri, 26 Feb 2021 08:54:01 +0000
(09:54 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 26 Feb 2021 08:54:01 +0000
(09:54 +0100)
src/lib/video_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/video_decoder.cc
b/src/lib/video_decoder.cc
index 18eb1acc15ff5d1f82ad5bc642ec941c1d233dae..ce42f428f6711c460bc37632cf26418796f990c6 100644
(file)
--- a/
src/lib/video_decoder.cc
+++ b/
src/lib/video_decoder.cc
@@
-136,6
+136,9
@@
VideoDecoder::emit (shared_ptr<const Film> film, shared_ptr<const ImageProxy> im
frame = _position->frames_round(afr);
eyes = Eyes::RIGHT;
}
+ } else {
+ /* This should not happen; see above */
+ frame = _position->frames_round(afr) + 1;
}
} else if (vft == VideoFrameType::THREE_D_ALTERNATE) {
DCPOMATIC_ASSERT (_last_emitted_eyes);