Microsoft DirectX 9.0 |
The OnReceiveFirstSample method is called when the filter receives a sample while paused.
Syntax
virtual void OnReceiveFirstSample(
IMediaSample *pMediaSample
);
Parameters
pMediaSample
Pointer to the sample's IMediaSample interface.
Remarks
The CBaseRenderer::Receive method calls this method. It does nothing in the base class, but the derived class can override it. This method is intended primarily for video renderers. When a video renderer is paused, it typically displays the first sample as a still image.
Seeking the graph while paused also causes this method to be called.
See Also