Move position variables into the video/audio/subtitle decoder classes.
[dcpomatic.git] / src / lib / video_mxf_decoder.cc
index 321728f58e0e8cd3c2ebfd7649a9e562a0f70069..90a58a16ef45907a803c4def9f1ff7ec57611b40 100644 (file)
@@ -89,7 +89,7 @@ VideoMXFDecoder::pass (PassReason, bool)
                        );
        }
 
-       _video_position = _next;
+       video->set_position (_next);
        _next += ContentTime::from_frames (1, vfr);
        return false;
 }