aboutsummaryrefslogtreecommitdiff
path: root/video/avi_decoder.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-02 20:22:53 -0400
committerPaul Gilbert2016-10-02 20:22:53 -0400
commitc676ecb258d9fca8a997055c5628e1cc786103de (patch)
treeef7a71fc9142bf1cb92a5f96c6f0de9e308cb95a /video/avi_decoder.h
parent78a3ac6c5daf1b091813c6cebce4b1d7894cee86 (diff)
downloadscummvm-rg350-c676ecb258d9fca8a997055c5628e1cc786103de.tar.gz
scummvm-rg350-c676ecb258d9fca8a997055c5628e1cc786103de.tar.bz2
scummvm-rg350-c676ecb258d9fca8a997055c5628e1cc786103de.zip
VIDEO: Implement seeking for AVI videos with a transparency video track
Diffstat (limited to 'video/avi_decoder.h')
-rw-r--r--video/avi_decoder.h8
1 files changed, 8 insertions, 0 deletions
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