CRendererPosPassThru.ResetMediaTime method
The ResetMediaTime
method resets the cached time stamps to zero.
Syntax
HRESULT ResetMediaTime();
Parameters
This method has no parameters.
Return value
Returns S_OK.
Remarks
The filter should call this method whenever the time stamps cached by the CRendererPosPassThru::RegisterMediaTime method become invalid. Specifically, it should call this method in response to the IPin::EndFlush and IMediaFilter::Stop methods.
After this method is called, the CRendererPosPassThru::GetMediaTime method returns zero for the start and end times.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|