CBaseControlVideo::get_AvgTimePerFrame

 
Microsoft DirectShow 9.0

CBaseControlVideo::get_AvgTimePerFrame

The get_AvgTimePerFrame method retrieves the average time per frame.

Syntax

  HRESULT get_AvgTimePerFrame(
    REFTIME *pAvgTimePerFrame
);

Parameters

pAvgTimePerFrame

Pointer to the average time per frame.

Return Value

Returns NOERROR if successful or E_OUTOFMEMORY if there is not enough memory available.

Remarks

This member function implements the IBasicVideo::get_AvgTimePerFrame method. It calls the pure virtual CBaseControlVideo::GetVideoFormat member function to retrieve the VIDEOINFOHEADER structure from the derived class.

Requirements

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

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

See Also