共用方式為


IMPEG2ComponentType::put_StreamType

 
Microsoft DirectShow 9.0

IMPEG2ComponentType::put_StreamType

The put_StreamType method sets the MPEG2 stream type.

Syntax

  HRESULT put_StreamType(
    MPEG2StreamType MP2StreamType
    );

Parameters

MP2StreamType

[in] Variable of type MPEG2StreamType that specifies the stream type.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

Requirements

Header: Dshow.h.

Library: Quartz.dll.

See Also