Share via


CBaseVideoRenderer::OnRenderStart

 
Microsoft DirectShow 9.0

CBaseVideoRenderer::OnRenderStart

The OnRenderStart method sets information for rendering.

Syntax

  void OnRenderStart(
    IMediaSample *pMediaSample
);

Parameters

pMediaSample

Pointer to the media sample.

Return Value

No return value.

Remarks

This member function retrieves the current clock time from the system and stores it in a member variable to be used when the drawing is complete. The function also performs performance logging. This member function should be called just before drawing starts.

This member function overrides CBaseRenderer::OnRenderStart.

Requirements

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

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

See Also