i've noticed pretty much whenever DirectShowUtil.RemoveFilters is called from MediaUriPlayer.FreeResources(). It throws an InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
I Imagine this prevents the individual filters from getting cleaned up as desired using this function.
The issue can be illustrated by opening a second source using the test application.
i've noticed pretty much whenever DirectShowUtil.RemoveFilters is called from MediaUriPlayer.FreeResources(). It throws an InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
I Imagine this prevents the individual filters from getting cleaned up as desired using this function.
The issue can be illustrated by opening a second source using the test application.