IMFDesiredSample::Clear method

Clears the time stamps previously set by a call to IMFDesiredSample::SetDesiredSampleTimeAndDuration.

Syntax


void Clear();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

After this method is called, the IMFDesiredSample::GetDesiredSampleTimeAndDuration method returns MF_E_NOT_AVAILABLE.

This method also clears the time stamp and duration and removes all attributes from the sample.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Evr.h

Library

Strmiids.lib

See also

IMFDesiredSample
How to Write an EVR Presenter

 

 

Show: