Share via


CBaseVideoRenderer::get_AvgFrameRate

 
Microsoft DirectShow 9.0

CBaseVideoRenderer::get_AvgFrameRate

The get_AvgFrameRate method calculates and retrieves the average frame rate achieved.

Syntax

  HRESULT get_AvgFrameRate(
    int *piAvgFrameRate
);

Parameters

piAvgFrameRate

Pointer to the number of frames per second since streaming began.

Return Value

Returns an HRESULT value.

Remarks

This member function implements the IQualProp::get_AvgFrameRate method.

Requirements

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

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

See Also