Enum MftInputStreamInfoFlags
- Namespace
- NAudio.MediaFoundation
- Assembly
- NAudio.Wasapi.dll
Describes an input stream on a Media Foundation transform (MFT).
[Flags]
public enum MftInputStreamInfoFlags
Fields
DoesNotAddRef = 256The MFT does not hold input samples after ProcessInput returns.
MFT_INPUT_STREAM_DOES_NOT_ADDREF
FixedSampleSize = 4All input samples must be the same size.
MFT_INPUT_STREAM_FIXED_SAMPLE_SIZE
HoldsBuffers = 8The MFT holds input buffers.
MFT_INPUT_STREAM_HOLDS_BUFFERS
None = 0No flags set
Optional = 1024This input stream is optional.
MFT_INPUT_STREAM_OPTIONAL
ProcessesInPlace = 2048The MFT can perform in-place processing.
MFT_INPUT_STREAM_PROCESSES_IN_PLACE
Removable = 512This input stream can be removed by calling DeleteInputStream.
MFT_INPUT_STREAM_REMOVABLE
SingleSamplePerBuffer = 2Each media sample must contain exactly one unit of data.
MFT_INPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER
WholeSamples = 1Each media sample of input data must contain complete, unbroken units of data.
MFT_INPUT_STREAM_WHOLE_SAMPLES
Remarks
Windows SDK name: _MFT_INPUT_STREAM_INFO_FLAGS.
Defined in mftransform.h.
See MS Learn.