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