diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-19 20:40:36 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-19 20:40:36 +0000 |
| commit | f113b2aaca7a65f7b37e12a7d9f3f99e2d834e81 (patch) | |
| tree | 6ea2ed1d480304a4aaf512e380cd013bbf42e86c /src/lib/dcp_decoder.cc | |
| parent | fab7fa5a9ef1d069c7ca32e3669d0e37e896250c (diff) | |
Move position variables into the video/audio/subtitle decoder classes.
Diffstat (limited to 'src/lib/dcp_decoder.cc')
| -rw-r--r-- | src/lib/dcp_decoder.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc index 4f17bdb3b..1d7c66a5b 100644 --- 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 ()) { |
