DMO_OUTPUT_STREAM_INFO_FLAGS Enumeration
The DMO_OUTPUT_STREAM_INFO_FLAGS enumeration defines flags that describe an output stream.
Syntax
enum _DMO_OUTPUT_STREAM_INFO_FLAGS {
DMO_OUTPUT_STREAMF_WHOLE_SAMPLES = 0x00000001,
DMO_OUTPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER = 0x00000002,
DMO_OUTPUT_STREAMF_FIXED_SAMPLE_SIZE = 0x00000004,
DMO_OUTPUT_STREAMF_DISCARDABLE = 0x00000008,
DMO_OUTPUT_STREAMF_OPTIONAL = 0x00000010
};
Elements
DMO_OUTPUT_STREAMF_WHOLE_SAMPLES
The stream contains whole samples. Samples do not span multiple buffers, and buffers do not contain partial samples.
DMO_OUTPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER
Each buffer contains exactly one sample.
DMO_OUTPUT_STREAMF_FIXED_SAMPLE_SIZE
All the samples in this stream are the same size.
DMO_OUTPUT_STREAMF_DISCARDABLE
The stream is discardable. Within calls to IMediaObject::ProcessOutput, the DMO can discard data for this stream without copying it to an output buffer.
DMO_OUTPUT_STREAMF_OPTIONAL
The stream is optional. An optional stream is discardable. Also, the application can ignore this stream entirely; it does not have to set the media type for the stream. Optional streams generally contain additional information, or data not needed by all applications.
Remarks
The DMO_OUTPUT_STREAMF_DISCARDABLE and DMO_OUTPUT_STREAMF_OPTIONAL flags are mutually exclusive. The DMO can set one of these flags (or neither), but not both.
Requirements
Header: Mediaobj.h
See Also