Example #1
0
        public VlcObject FindObject(VlcObjectType type, VlcObjectSearchMode mode)
        {
            if (_vlcObject.IsInvalid)
            {
                throw new ApplicationException("VLC object is NULL");
            }

            VlcObject o = new VlcObject(__vlc_object_find(_vlcObject, type, mode));

            return(o);
        }
Example #2
0
        protected void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                _disposed = true;

                if (_log != null)
                {
                    _log.Dispose();
                }

                if (VlcObject != null)
                {
                    VlcObject.Dispose();
                }

                VlcInstanceHandle.Dispose();

                if (_excp != null)
                {
                    _excp.Dispose();
                }
            }
        }