IMFSourceBuffer interface (mfmediaengine.h)

Represents a buffer which contains media data for a IMFMediaSourceExtension.

Inheritance

The IMFSourceBuffer interface inherits from the IUnknown interface. IMFSourceBuffer also has these types of members:

Methods

The IMFSourceBuffer interface has these methods.

 
IMFSourceBuffer::Abort

Aborts the processing of the current media segment.
IMFSourceBuffer::Append

Appends the specified media segment to the IMFSourceBuffer.
IMFSourceBuffer::AppendByteStream

Appends the media segment from the specified byte stream to the IMFSourceBuffer.
IMFSourceBuffer::GetAppendWindowEnd

Gets the timestamp for the end of the append window.
IMFSourceBuffer::GetAppendWindowStart

Gets the timestamp for the start of the append window.
IMFSourceBuffer::GetBuffered

Gets the buffered time range.
IMFSourceBuffer::GetTimeStampOffset

Gets the timestamp offset for media segments appended to the IMFSourceBuffer.
IMFSourceBuffer::GetUpdating

Gets a value that indicates if Append, AppendByteStream, or Remove is in process.
IMFSourceBuffer::Remove

Removes the media segments defined by the specified time range from the IMFSourceBuffer.
IMFSourceBuffer::SetAppendWindowEnd

Sets the timestamp for the end of the append window.
IMFSourceBuffer::SetAppendWindowStart

Sets the timestamp for the start of the append window.
IMFSourceBuffer::SetTimeStampOffset

Sets the timestamp offset for media segments appended to the IMFSourceBuffer.

Remarks

IMFSourceBuffer is used in conjunction with the IMFMediaSourceExtension.

Requirements

   
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header mfmediaengine.h

See also

Media Foundation Interfaces