| Previous | Next |
| MF_E_STREAMSINKS_OUT_OF_SYNC | MF_E_STREAMSINK_EXISTS |
MF_E_STREAMSINKS_FIXED
MF_E_STREAMSINKS_FIXED reports a structural property of the media sink, not a temporary busy state. The sink was created with a fixed number of streams, so dynamic AddStreamSink or RemoveStreamSink calls are not supported.
Query the sink before trying to modify its stream set
- Call
IMFMediaSink::GetCharacteristicsand testMEDIASINK_FIXED_STREAMS. - Enumerate the existing stream sinks and configure their media type handlers instead of trying to create another stream.
- For file sinks such as the MPEG-4 sink, select the audio/video stream combination when creating the sink.
The documented sink characteristics do not change during the sink lifetime. Retrying the add or remove operation later therefore cannot succeed. If the application needs a different stream layout, it must create a sink whose initial layout matches the job or use a sink designed for dynamic streams.
Microsoft: IMFMediaSink::GetCharacteristics · Microsoft: AddStreamSink · Microsoft: MPEG-4 file sink
Looking for a different code? Search another status or error code.