projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move position variables into the video/audio/subtitle decoder classes.
[dcpomatic.git]
/
src
/
lib
/
dcp_decoder.cc
diff --git
a/src/lib/dcp_decoder.cc
b/src/lib/dcp_decoder.cc
index 5d73a9bbfa32066832f41748bdc3de2beb423370..1d7c66a5ba52e708c0aed831d63eb806b6ec5679 100644
(file)
--- a/
src/lib/dcp_decoder.cc
+++ b/
src/lib/dcp_decoder.cc
@@
-163,6
+163,9
@@
DCPDecoder::pass (PassReason reason, bool)
}
}
+ video->set_position (_next);
+ audio->set_position (_next);
+ subtitle->set_position (_next);
_next += ContentTime::from_frames (1, vfr);
if ((*_reel)->main_picture ()) {