summaryrefslogtreecommitdiff
path: root/src/lib/dcp_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-22 14:54:31 +0000
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commite11276a822289d7d7d91a4f431f386ad28ef16dd (patch)
tree83c1162b3beb7f9fa11b24409309747dd9753959 /src/lib/dcp_decoder.cc
parentc6b0eb4db564abd41aa0685367a8660d7091e8f8 (diff)
Various work on the audio code.
Diffstat (limited to 'src/lib/dcp_decoder.cc')
-rw-r--r--src/lib/dcp_decoder.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc
index 25c805d3f..665b5e560 100644
--- a/src/lib/dcp_decoder.cc
+++ b/src/lib/dcp_decoder.cc
@@ -155,6 +155,9 @@ DCPDecoder::pass ()
}
}
+ video->set_position (_next);
+ audio->set_position (_dcp_content->audio->stream(), _next);
+ subtitle->set_position (_next);
_next += ContentTime::from_frames (1, vfr);
if ((*_reel)->main_picture ()) {