CBaseRenderer::OnReceiveFirstSample

Provides derived classes with an opportunity to render static data.

virtual void OnReceiveFirstSample(
IMediaSample *pMediaSample);

Parameters

  • pMediaSample
    Media sample.

Return Values

No return value.

Remarks

This member function is unimplemented. It is primarily used by video renderers. When they receive their first sample while paused, they typically draw the frame as a poster image. This virtual method is called by the base classes when the first sample arrives.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.