diff options
Diffstat (limited to 'graphics/video/coktelvideo/coktelvideo.h')
-rw-r--r-- | graphics/video/coktelvideo/coktelvideo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.h b/graphics/video/coktelvideo/coktelvideo.h index cf325d7c7b..b0f38186a2 100644 --- a/graphics/video/coktelvideo/coktelvideo.h +++ b/graphics/video/coktelvideo/coktelvideo.h @@ -184,6 +184,8 @@ public: /** Render the next frame. */ virtual State nextFrame() = 0; + /** Get the time in ms until the next frame can be displayed. Already includes A/V sync measures. */ + virtual uint32 getFrameWaitTime() = 0; /** Wait for the frame to end. */ virtual void waitEndFrame() = 0; @@ -252,6 +254,7 @@ public: void seekFrame(int32 frame, int16 whence = SEEK_SET, bool restart = false); State nextFrame(); + uint32 getFrameWaitTime(); void waitEndFrame(); void copyCurrentFrame(byte *dest, |