When loading a .GRF wich includes a bridge sink or source it will crash.
Reason: the GMF source/sink bridge filters have NULL GUID, so there is no class factory associated with them. Instead they need to be constructed trought a BridgeSink or BridgeSource created from a BridgeController.
Proposed solutions:
1 - Detect filters with NULL GUID to avoid crash.
2 a- Create a dummy filter that catch the source/sink filter so the graph can be loaded and showed.
2 b- Detect if they have the name "Bridge Source filter" or "Bridge Sink filter" and create a BridgeController on the fly and the associated source/sink filter.
When loading a .GRF wich includes a bridge sink or source it will crash. Reason: the GMF source/sink bridge filters have NULL GUID, so there is no class factory associated with them. Instead they need to be constructed trought a BridgeSink or BridgeSource created from a BridgeController. Proposed solutions: 1 - Detect filters with NULL GUID to avoid crash. 2 a- Create a dummy filter that catch the source/sink filter so the graph can be loaded and showed. 2 b- Detect if they have the name "Bridge Source filter" or "Bridge Sink filter" and create a BridgeController on the fly and the associated source/sink filter.