Export (0) Print
Expand All
Expand Minimize

MF_BYTESTREAM_DURATION attribute

Specifies the duration of a byte stream, in 100-nanosecond units.

Data type

UINT64

Treat as a LONGLONG value.

Remarks

This attribute is optional. If the object that creates the byte stream can determine the duration, it can set this attribute. (For example, in a network stream, the duration might be part of the session description.)

To get the attribute value, call QueryInterface on the byte stream to get a pointer to the IMFAttributes interface.

This attribute is a signed value, although it is stored as a UINT64.

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

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfobjects.h (include Mfidl.h)

See also

Byte Stream Attributes
IMFAttributes::GetUINT64
IMFAttributes::SetUINT64
IMFByteStream

 

 

Community Additions

ADD
Show:
© 2014 Microsoft