Skip to content

PlayerFrameStep

function

Delphi
function PlayerFrameStep (FrameCount: LongInt): Boolean;
C++Builder
bool __fastcall PlayerFrameStep(System::LongInt FrameCount);
C#
public bool PlayerFrameStep(int FrameCount);
VB.NET
Public Function PlayerFrameStep(FrameCount As Integer) As Boolean
C++/Qt
BOOL PlayerFrameStep (int FrameCount);

Steps n frames forward or backward when the video clip is paused.

The FrameCount parameter specifies the number of frames to step:

  • If FrameCount is 1, the clip steps forward one frame.

  • If FrameCount is a number n greater than 1, the clip skips n - 1 frames and shows the nth frame.

  • If FrameCount is negative, the clip steps back -FrameCount frames (down to the 1st frame).

When the clip is seekable, the step is frame accurate with every video renderer. Returns false if the clip is not paused or if the last frame is already shown.