コード例 #1
0
 public void Destroy()
 {
     if (m_Pipeline != null)
     {
         m_Pipeline.Destroy();
         m_Pipeline = null;
         GStreamer.Unref();
     }
     m_instanceHandle.Free();
 }
コード例 #2
0
 private void Destroy()
 {
     if (m_Pipeline != null)
     {
         // Send EOS down the pipeline
         m_Pipeline.StopEncoding();
         // Wait for EOS to reach the end
         while (!m_EOS)
         {
             System.Threading.Thread.Sleep(1000);
         }
         m_Pipeline.Destroy();
         m_Pipeline = null;
         GStreamer.Unref();
         m_instanceHandle.Free();
     }
 }
コード例 #3
0
 /// <summary>
 /// Unload the GStreamer's Log_handler
 /// </summary>
 void UnLoadGStreamer()
 {
     GStreamer.Unref();
 }