Share via


CBaseRenderer::OnRenderStart

 
Microsoft DirectShow 9.0

CBaseRenderer::OnRenderStart

The OnRenderStart method is called when rendering is about to start.

Syntax

  virtual void OnRenderStart(
    IMediaSample *pMediaSample
);

Parameters

pMediaSample

Pointer to the sample's IMediaSample interface.

Remarks

The CBaseRenderer::Render method calls this method. It does nothing in the base class, but the derived class can override it; for example, to collect quality-control data.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also