共用方式為


IBasicVideo2 Interface

 
Microsoft DirectShow 9.0

IBasicVideo2 Interface

The IBasicVideo2 interface extends the IBasicVideo interface. The Video Renderer filter and Video Mixing Renderer filters implement this interface, but the interface is exposed to applications through the Filter Graph Manager. Applications should always retrieve this interface from the Filter Graph Manager.

In addition to the methods inherited from IDispatch and IBasicVideo, the IBasicVideo2 interface exposes the following method.

Method Description
GetPreferredAspectRatio Retrieves the preferred video aspect ratio.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.