Fix piece video_position, player _video_position and FFmpegDecoder _video_position...
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index 637e2b187f2ae4f33e32b9836e52086bb59bd2be..18834c90e1b5249251bf6ba9e14bba1a8a8885f0 100644 (file)
@@ -313,7 +313,8 @@ FFmpegDecoder::seek (VideoContent::Frame frame, bool accurate)
        }
 
        _just_sought = true;
-
+       _video_position = frame;
+       
        if (frame == 0 || !accurate) {
                /* We're already there, or we're as close as we need to be */
                return;