Share via


CBaseRenderer::PrepareRender

 
Microsoft DirectShow 9.0

CBaseRenderer::PrepareRender

The PrepareRender method is called before the filter renders a sample.

Syntax

  virtual void PrepareRender(void);

Remarks

The filter calls this method before it calls the CBaseRenderer::OnReceiveFirstSample method or the CBaseRenderer::Render method. PrepareRender does not do anything in the base class. The derived class can override it to perform any actions required before rendering. For example, a video renderer can override this method to realize its palette.

Requirements

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

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

See Also