Beispiel #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));
        }
Beispiel #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);
		}