Export (0) Print
Expand All
Expand Minimize

MF_SAMPLEGRABBERSINK_SAMPLE_TIME_OFFSET attribute

Offset between the time stamp on each sample received by the sample grabber, and the time when the sample grabber presents the sample.

Data type

UINT64

Remarks

You can set this attribute on the IMFActivate object that is returned by the MFCreateSampleGrabberSinkActivate function. This attribute enables the sample grabber's callback function to receive samples earlier than the presentation time.

When the sample grabber receives a new sample, it presents the sample at time toffset, where t is the time stamp on the sample and offset is the value of this attribute. If this attribute is not set, the default value is zero.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

See also

IMFAttributes::GetUINT64
IMFAttributes::SetUINT64
IMFSampleGrabberSinkCallback
Media Foundation Attributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft