Partager via


CBaseControlVideo::get_BitErrorRate

 
Microsoft DirectShow 9.0

CBaseControlVideo::get_BitErrorRate

The get_BitErrorRate method retrieves an approximate bit error rate for the video.

Syntax

  HRESULT get_BitErrorRate(
    long *pBitErrorRate
);

Parameters

pBitErrorRate

Pointer to the bit error rate (one error for approximately this many bits).

Return Value

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

Remarks

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