Ejemplo n.º 1
0
        public VTStatus SetDecompressionProperties(VTDecompressionProperties options)
        {
            if (Handle == IntPtr.Zero)
            {
                throw new ObjectDisposedException("DecompressionSession");
            }
            if (options == null)
            {
                throw new ArgumentNullException("options");
            }

            return(VTSessionSetProperties(Handle, options.Dictionary.Handle));
        }
Ejemplo n.º 2
0
		public VTStatus SetDecompressionProperties (VTDecompressionProperties options)
		{
			if (Handle == IntPtr.Zero)
				throw new ObjectDisposedException ("DecompressionSession");
			if (options == null)
				throw new ArgumentNullException ("options");

			return VTSessionSetProperties (Handle, options.Dictionary.Handle);
		}