Another attempt to fix back / same-frame seeks.
[dcpomatic.git] / src / lib / video_decoder.h
index 0b33504721efe4c1867474405b231d51eebfc4b5..0560cbb6f18e6dfcaada224413f018f5ddcc4483 100644 (file)
@@ -30,7 +30,10 @@ class VideoDecoder : public virtual Decoder
 public:
        VideoDecoder (boost::shared_ptr<const Film>);
 
-       virtual void seek (VideoContent::Frame, bool) = 0;
+       /** Seek so that the next pass() will yield (approximately) the requested frame.
+        *  Pass accurate = true to try harder to get close to the request.
+        */
+       virtual void seek (VideoContent::Frame frame, bool accurate) = 0;
 
        /** Emitted when a video frame is ready.
         *  First parameter is the video image.