tsMediaSampleDesc Structure

The tsMediaSampleDesc contains timestamp information about a frame.
Syntax:
struct tsMediaSampleDesc
{
    REFERENCE_TIME  SampleStart;
    REFERENCE_TIME  SampleEnd;
    DWORD           FrameNumber;
    tFrameDesc      FrameType;
};

Members Description
SampleStart

Start time of the sample, as set by the video capture device.

SampleEnd

End time of the sample, as set by the video capture device.

FrameNumber

Frame number of the sample, as set by the video capture device. The device does not need to set this field, or keep it updated.

FrameType

Type of frame, described with a tFrameDesc enumeration member.

See also: IFrame

<< Structures