private void EndRecording()
        {
            if (m_Recorder.EndRecording())
            {
                ResetFrames();

                dirtyFlags |= DirtyFlag.Background;
            }
        }
        private void EndRecording()
        {
            if (m_Recorder.EndRecording())
            {
                string path;
                m_Recorder.Save(out path);

                dirtyFlags |= DirtyFlag.All;
            }
        }
 public override void Restart()
 {
     m_recorder.EndRecording();
     m_updateStatus  = true;
     m_updatePreview = true;
 }