CBaseRenderer::Receive
Called by the upstream filter when a sample is available to render.
virtual HRESULT Receive(
IMediaSample *pMediaSample);
Parameters
- pMediaSample
Media sample.
Return Values
Returns an HRESULT value.
Remarks
This member function sets an advise link with the clock, waits for the time to arrive, and then renders the data by calling the pure virtual DoRenderSample member function that the derived class will have overridden. After rendering the sample, the end of stream can also be signaled if it was the last one sent before EndOfStream was called.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.