Beispiel #1
0
        private void buttonStop_Click(object sender, EventArgs e)
        {
            logger.Debug("buttonStop_Click(...)");

            if (videoRenderer != null)
            {
                stopwatch.Stop();
                presentationClock.Stop();

                //videoRenderer.Stop();

                sampleSource.Stop();
            }
        }
        public void Stop()
        {
            logger.Debug("D3D9RendererSink::Stop()");

            decoder.Stop();

            presentationClock.Stop();
        }