public HResult OnClockPause(long hnsSystemTime) { Debug.WriteLine("MediaSink:OnClockPause"); HResult hr; lock (this) { if (IsShutdown) { return(MF_E_SHUTDOWN); } hr = StreamSink.Pause(); } return(hr); }