DSGraphEdit is a great tool! However, I have come across one problem:
Filters that have been written in C# do not work in DSGraphEdit. For example, the filters by Maxim Kartavenkov:
https://www.codeproject.com/Articles/421167/Pure-NET-DirectShow-Filters-in-Csharp
If you try to instantiate any of those filters in DSGraphEdit, the result is an InvalidCastException in DSDaggerUIGraph line 245 (AddSourceFilterForMoniker), because the type of the filter can not be cast to IBaseFilter.
Kartavenkov's filters also derive from IBaseFilter, but the definition of that IBaseFilter in C# is a little different from DSGraphEdit's.
I tried catching the Exception and use the alternative AddFilterByDevicePath instead, however this only leads to the same exception occuring a little further down the road.
DSGraphEdit is a great tool! However, I have come across one problem:
Filters that have been written in C# do not work in DSGraphEdit. For example, the filters by Maxim Kartavenkov:
https://www.codeproject.com/Articles/421167/Pure-NET-DirectShow-Filters-in-Csharp
If you try to instantiate any of those filters in DSGraphEdit, the result is an InvalidCastException in DSDaggerUIGraph line 245 (AddSourceFilterForMoniker), because the type of the filter can not be cast to IBaseFilter.
Kartavenkov's filters also derive from IBaseFilter, but the definition of that IBaseFilter in C# is a little different from DSGraphEdit's.
I tried catching the Exception and use the alternative AddFilterByDevicePath instead, however this only leads to the same exception occuring a little further down the road.