Ejemplo n.º 1
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));
        }
Ejemplo 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);
		}