CBaseRenderer::Receive (Compact 2013)
3/26/2014
Called by the upstream filter when a sample is available to render.
Syntax
virtual HRESULT Receive(
IMediaSample* pMediaSample
);
Parameters
- pMediaSample
Media sample.
Return Value
Returns an HRESULT value.
Remarks
This member function sets an advise link with the clock, waits for the time to arrive, and 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.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |