public VTStatus SetCompressionProperties(VTCompressionProperties options)
        {
            if (Handle == IntPtr.Zero)
            {
                throw new ObjectDisposedException("CompressionSession");
            }
            if (options == null)
            {
                throw new ArgumentNullException("options");
            }

            return(VTSessionSetProperties(Handle, options.Dictionary.Handle));
        }
Esempio n. 2
0
		public VTStatus SetCompressionProperties (VTCompressionProperties options)
		{
			if (Handle == IntPtr.Zero)
				throw new ObjectDisposedException ("CompressionSession");
			if (options == null)
				throw new ArgumentNullException ("options");

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