| Previous | Next |
| MF_S_SEQUENCER_CONTEXT_CANCELED | MF_S_TRANSFORM_DO_NOT_PROPAGATE_EVENT |
MF_S_SEQUENCER_SEGMENT_AT_END_OF_STREAM
MF_S_SEQUENCER_SEGMENT_AT_END_OF_STREAM is a Sequencer Source status for a late topology-flag update. The operation targets a segment that has already reached end of stream, so its queued topology flags can no longer be changed for that completed segment.
Apply last-segment flag changes while the segment is still queued
- Keep the
MFSequencerElementIdreturned byAppendTopologyand pass that identifier toUpdateTopologyFlags. - When extending a playlist, remove
SequencerTopologyFlags_Lastfrom the previous last segment before it reaches end of stream. - Serialize playlist edits with sequencer/session event handling so a delayed UI, network, or worker-thread update does not target an already completed segment.
Microsoft's playlist example performs the previous-last-segment flag update before appending the new segment. Repeating the same flag update after this status does not change the already completed segment; the application must reconcile the current sequence state instead.
Microsoft: IMFSequencerSource::UpdateTopologyFlags · Microsoft: adding topologies to the Sequencer Source · Microsoft: Sequencer Source example code
Looking for a different code? Search another status or error code.