| Previous | Next |
| MF_E_TOPO_SINK_ACTIVATES_UNSUPPORTED | MF_E_NO_SOURCE_IN_CACHE |
MF_E_SEQUENCER_UNKNOWN_SEGMENT_ID
MF_E_SEQUENCER_UNKNOWN_SEGMENT_ID means the sequencer cannot map the supplied MFSequencerElementId to a current segment. Segment IDs are returned by AppendTopology and are later used to update, delete, or seek relative to sequence elements.
Cache IDs returned by the sequencer
- Do not derive a segment ID from a playlist index, topology ID, or array position.
- Remove cached IDs when
DeleteTopologysucceeds and update the application's index-to-ID mapping. - After rebuilding a sequencer source, discard every ID obtained from the previous sequencer instance.
The Microsoft sample keeps both segment IDs and topology IDs because they serve different purposes. Mixing the two identifiers can produce a lookup failure even when the corresponding media item is visibly present in the application's playlist.
Microsoft: caching Sequencer Source IDs · Microsoft: creating a playlist
Looking for a different code? Search another status or error code.