public void Destroy()
 {
     if (_player != null)
     {
         _player.Destroy();
         _player = null;
         GStreamerCore.Unref();
     }
 }
Example #2
0
 public virtual void Destroy()
 {
     if (GetPlayer() != null)
     {
         GetPlayer().Stop();
         GetPlayer().Close();
         GetPlayer().Destroy();
         GStreamerCore.Unref();
     }
 }