IMediaObject::GetOutputStreamInfo method

The GetOutputStreamInfo method retrieves information about an output stream; for example, whether the stream is discardable, and whether it uses a fixed sample size. This information never changes.

Syntax


HRESULT GetOutputStreamInfo(
        DWORD dwOutputStreamIndex,
  [out] DWORD *pdwFlags
);

Parameters

dwOutputStreamIndex

Zero-based index of an output stream on the DMO.

pdwFlags [out]

Pointer to a variable that receives a bitwise combination of zero or more DMO_OUTPUT_STREAM_INFO_FLAGS flags.

Return value

Returns an HRESULT value. Possible values include those in the following table.

Return codeDescription
DMO_E_INVALIDSTREAMINDEX

Invalid stream index

E_POINTER

NULL pointer argument

S_OK

Success

 

Requirements

Header

Mediaobj.h (include Dmo.h)

Library

Dmoguids.lib

See also

IMediaObject Interface

 

 

Show: