Cope with offsets between video/audio/subtitle data in a muxed file.
[dcpomatic.git] / src / lib / dcp_decoder.cc
index 38c2a7ccfa2bdcab2bb96ecf850eed4de53ba5e4..4f17bdb3b9293b1c6359e39b90a018ae4a677776 100644 (file)
@@ -163,7 +163,7 @@ DCPDecoder::pass (PassReason reason, bool)
                }
        }
 
-       _position = _next;
+       _video_position = _audio_position = _subtitle_position = _next;
        _next += ContentTime::from_frames (1, vfr);
 
        if ((*_reel)->main_picture ()) {