libdvdcss again
    Samuel Hocevar 
    sam at zoy.org
       
    Thu Jul  5 13:30:37 CEST 2001
    
    
  
On Thu, Jul 05, 2001, Gildas Bazin wrote:
> As libdvdcss api is working with blocks (sectors) instead of bytes, I
> was just thinking that it would maybe make more sense to change the
> specification for dvdcss_readv a little bit.
>
> Instead of having iovec structures where the iov_len field is the
> length in BYTES of the iovbase buffer, iov_len could be the length in
> BLOCKS (or sectors) of the buffer.
   Unfortunately the Unix kernels rely on iov_len to be in bytes, so
we couldn't use the accelerated readv call and we'd have to use a lame
readv replacement like in the Win32 version :-)
-- 
Sam.
    
    
More information about the vlc-devel
mailing list