| Previous | Next |
| STATUS_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET | STATUS_GRAPHICS_TARGET_ALREADY_IN_SET |
STATUS_GRAPHICS_SOURCE_ALREADY_IN_SET
A source set already contains that source ID
This status is returned while building or modifying a VidPN source set. The individual source ID may be valid, but it is already present in the set, so adding it again would make the set ambiguous or duplicate a topology relationship.
The common bug is path-based construction that visits clone paths and blindly appends the source for each path. In clone or multi-target layouts, one source can drive more than one target, so the source set must de-duplicate by source ID rather than by path count.
What to check
- Print the source ID and the set contents before insertion.
- In clone scenarios, collect unique source IDs separately from source-target paths.
- Verify that retry logic does not reapply a partially successful insertion sequence.
References
Looking for a different code? Search another status or error code.
