AVIStreamNextKeyFrameTime macro

The AVIStreamNextKeyFrameTime macro returns the time of the next key frame in the stream, starting at a given time.

Syntax


LONG AVIStreamNextKeyFrameTime(
    pavi,
    time
);

Parameters

pavi

Handle to an open stream.

time

Position in the stream to begin searching.

Return value

Returns the time if successful or –1 otherwise.

Remarks

The search performed by this macro includes the frame that corresponds to the specified time.

The AVIStreamNextKeyFrameTime macro is defined as follows:



#define AVIStreamNextKeyFrameTime(pavi, time) \ 
    AVIStreamSampleToTime(pavi, \ 
    AVIStreamNextKeyFrame(pavi, \ 
    AVIStreamTimeToSample(pavi, time))) 


Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

AVIFile Functions and Macros
AVIFile Macros

 

 

Show: