Overview
Group
Quick Info

AVIStreamPrevKeyFrame

The AVIStreamPrevKeyFrame macro locates the key frame that precedes a specified position in a stream.

AVIStreamPrevKeyFrame(

pavi,

lPos

);

Parameters

pavi

Handle of an open stream.

lPos

Starting position to search in the stream.

Return Values

Returns the position of the key frame if successful or pics/MMEDIA00090000.gif 1 otherwise.

Remarks

The search performed by this macro does not include the frame at the specified position.

The AVIStreamPrevKeyFrame macro is defined as follows:

#define AVIStreamPrevKeyFrame(pavi, lPos) \

AVIStreamFindSample(pavi, lPos - 1, FIND_PREV | FIND_KEY)

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples