Move position variables into the video/audio/subtitle decoder classes.
[dcpomatic.git] / src / lib / dcp_decoder.cc
index 5d73a9bbfa32066832f41748bdc3de2beb423370..1d7c66a5ba52e708c0aed831d63eb806b6ec5679 100644 (file)
@@ -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 ()) {