void ReleaseContext()
 {
     if (m_ctx != null)
     {
         m_ctx.Release();
         m_ctx = null;
     }
 }
 bool CreateContext()
 {
     m_ctx = MovieRecorderContext.Create(m_format);
     return(m_ctx != null);
 }