Example #1
0
 public void Unload()
 {
     // Prepare the FrameServer for a new video by resetting everything.
     m_VideoFile.Unload();
     if (m_Metadata != null)
     {
         m_Metadata.Reset();
     }
 }
Example #2
0
        public void Unload()
        {
            // Prepare the FrameServer for a new video by resetting everything.
            if (videoReader != null && videoReader.Loaded)
            {
                videoReader.Close();
            }

            if (metadata != null)
            {
                metadata.Reset();
            }
        }