From c676ecb258d9fca8a997055c5628e1cc786103de Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 2 Oct 2016 20:22:53 -0400 Subject: VIDEO: Implement seeking for AVI videos with a transparency video track --- video/avi_decoder.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'video/avi_decoder.h') diff --git a/video/avi_decoder.h b/video/avi_decoder.h index 3448204429..3581b65409 100644 --- a/video/avi_decoder.h +++ b/video/avi_decoder.h @@ -304,6 +304,14 @@ protected: public: virtual AVIAudioTrack *createAudioTrack(AVIStreamHeader sHeader, PCMWaveFormat wvInfo); + + /** + * Seek to a given frame. + * + * This only works when the video track(s) supports getFrameTime(). + * This calls seek() internally. + */ + virtual bool seekToFrame(uint frame); }; } // End of namespace Video -- cgit v1.2.3