Share via


_DMO_INPUT_STREAM_INFO_FLAGS enumeration (mediaobj.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The DMO_INPUT_STREAM_INFO_FLAGS enumeration defines flags that describe an input stream.

Syntax

typedef enum _DMO_INPUT_STREAM_INFO_FLAGS {
  DMO_INPUT_STREAMF_WHOLE_SAMPLES = 0x1,
  DMO_INPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER = 0x2,
  DMO_INPUT_STREAMF_FIXED_SAMPLE_SIZE = 0x4,
  DMO_INPUT_STREAMF_HOLDS_BUFFERS = 0x8
} ;

Constants

 
DMO_INPUT_STREAMF_WHOLE_SAMPLES
Value: 0x1
The stream requires whole samples. Samples must not span multiple buffers, and buffers must not contain partial samples.
DMO_INPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER
Value: 0x2
Each buffer must contain exactly one sample.
DMO_INPUT_STREAMF_FIXED_SAMPLE_SIZE
Value: 0x4
All the samples in this stream must be the same size.
DMO_INPUT_STREAMF_HOLDS_BUFFERS
Value: 0x8
The DMO performs lookahead on the incoming data, and may hold multiple input buffers for this stream.

Requirements

Requirement Value
Header mediaobj.h

See also

DMO Enumerated Types

IMediaObject::GetInputStreamInfo