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 4f17bdb3b9293b1c6359e39b90a018ae4a677776..1d7c66a5ba52e708c0aed831d63eb806b6ec5679 100644
(file)
--- a/
src/lib/dcp_decoder.cc
+++ b/
src/lib/dcp_decoder.cc
@@
-163,7
+163,9
@@
DCPDecoder::pass (PassReason reason, bool)
}
}
- _video_position = _audio_position = _subtitle_position = _next;
+ video->set_position (_next);
+ audio->set_position (_next);
+ subtitle->set_position (_next);
_next += ContentTime::from_frames (1, vfr);
if ((*_reel)->main_picture ()) {