Expand Minimize
This topic has not yet been rated - Rate this topic

MFSampleExtension_DeviceTimestamp attribute

Contains the time stamp from the device driver.

Data type

UINT64

Get/set

To get this attribute, call IMFAttributes::GetUINT64.

To set this attribute, call IMFAttributes::SetUINT64.

Applies to

IMFSample

Remarks

This attribute is set on media samples created by a media source for a capture device. The value of the attribute is the time stamp generated by the driver. This time stamp is correlated with the system time from the query performance counter (QPC).

To get the time stamp relative to the start of streaming, call the IMFSample::GetSampleTime method.

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

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfidl.h

See also

Audio/Video Capture in Media Foundation
Sample Attributes

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.