/// <summary> /// Release all COM object references to IAMStreamSelect instances. /// </summary> protected virtual void ReleaseStreamSelectors() { // Release all existing stream selector references if (_streamSelectors != null) { foreach (IAMStreamSelect streamSelector in _streamSelectors) { FilterGraphTools.TryReleaseComObject(streamSelector); } } _streamSelectors = null; _streamInfoAudio = null; _streamInfoSubtitles = null; _streamInfoTitles = null; }