void AddFilters() { AddSampleGrabber(); AddSourceFilter(); int hr = 0; hr = graphBuilder.AddFilter(nullRendererFilter, "Null Renderer"); DsError.ThrowExceptionForHR(hr); }