共用方式為


IVMRVideoStreamControl Interface

 
Microsoft DirectShow 9.0

IVMRVideoStreamControl Interface

The IVMRVideoStreamControl interface is implemented on each input pin of the Video Mixing Renderer Filter 7 (VMR-7). The interface operates on the input stream represented by the pin. This interface is used by upstream filters (typically decoders) to get or set the active state of individual streams, or the source color key for the composited image. Applications in general should not use this interface.

The VMR-9 input pins expose the IVMRVideoStreamControl9 interface.

In addition to the methods inherited from IUnknown, the IVMRVideoStreamControl interface exposes the following methods:

Method Description
GetColorKey Retrieves the source color key currently set for this stream.
GetStreamActiveState Retrieves the state of the stream.
SetColorKey Sets the source color key that the VMR will use when compositing the video image.
SetStreamActiveState Activates or inactivates an input stream.