[libdvdcss-devel] [PATCH] Read 50 sectors in advance during CSS key computation

Diego Biurrun diego at biurrun.de
Tue Oct 21 11:26:00 CEST 2014


On Tue, Oct 21, 2014 at 11:17:06AM +0200, Jean-Baptiste Kempf wrote:
> On 20 Oct, Diego Biurrun wrote :
> > From: David Dielsky <david122192 at gmail.com>
> > 
> > This reduces the number of read accesses.
> > 
> > This is still a horrible hack.  I fail to see the purpose of reading
> > data from the DVD into a dummy buffer, only to then reset the offset
> > pointer and read the data that actually gets processed from the DVD
> > again ...
> 
> It works when we read over HTTP. We're doing more testing about that,
> before pushing it.

I'm toying with the idea of rewriting it to just use the data from the
buffer instead of reading into and then ignoring the buffer contents.
But I wonder if you haven't had the (seemingly obvious) idea yourselves
before and run into some problems that I am naively overlooking ...

Diego


More information about the libdvdcss-devel mailing list