次の方法で共有


CBaseControlVideo::get_BitRate (Compact 2013)

3/26/2014

Retrieves an approximate bit rate for the video.

Syntax

HRESULT get_BitRate(
  long* pBitRate
);

Parameters

  • pBitRate
    Bit rate in bits per second.

Return Value

Returns NOERROR if successful or E_OUTOFMEMORY 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

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlVideo Class