Partager via


CBaseControlVideo::get_BitRate

 
Microsoft DirectShow 9.0

CBaseControlVideo::get_BitRate

The get_BitRate method retrieves an approximate bit rate for the video.

Syntax

  HRESULT get_BitRate(
    long *pBitRate
);

Parameters

pBitRate

Pointer to the bit rate, in bits per second.

Return Value

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

Remarks

This member function implements the IBasicVideo::get_BitRate method. It calls the pure virtual CBaseControlVideo::GetVideoFormat 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