public void WaitForStop() { if (!requestedToStop) { SignalToStop(); } if (videoSource != null) { videoSource.WaitForStop(); } }