CBaseVideoRenderer::ScheduleSample

 
Microsoft DirectShow 9.0

CBaseVideoRenderer::ScheduleSample

The ScheduleSample method overrides the base class that does the main work to keep a count of samples drawn and dropped (which are used by the IQualProp implementation).

Syntax

  BOOL ScheduleSample(
    IMediaSample *pMediaSample
);

Parameters

pMediaSample

Pointer to the media sample.

Return Value

Returns TRUE if the sample is scheduled; otherwise, returns FALSE.

Requirements

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

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

See Also