Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
[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_OUTPUT_STREAM_INFO_FLAGS enumeration defines flags that describe an output stream.
Syntax
typedef enum _DMO_OUTPUT_STREAM_INFO_FLAGS {
DMO_OUTPUT_STREAMF_WHOLE_SAMPLES = 0x1,
DMO_OUTPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFER = 0x2,
DMO_OUTPUT_STREAMF_FIXED_SAMPLE_SIZE = 0x4,
DMO_OUTPUT_STREAMF_DISCARDABLE = 0x8,
DMO_OUTPUT_STREAMF_OPTIONAL = 0x10
} ;
Constants
DMO_OUTPUT_STREAMF_WHOLE_SAMPLESValue: 0x1 The stream contains whole samples. Samples do not span multiple buffers, and buffers do not contain partial samples. |
DMO_OUTPUT_STREAMF_SINGLE_SAMPLE_PER_BUFFERValue: 0x2 Each buffer contains exactly one sample. |
DMO_OUTPUT_STREAMF_FIXED_SAMPLE_SIZEValue: 0x4 All the samples in this stream are the same size. |
DMO_OUTPUT_STREAMF_DISCARDABLEValue: 0x8 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_OPTIONALValue: 0x10 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
| Requirement | Value |
|---|---|
| Header | mediaobj.h |