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

Jean-Baptiste Kempf jb at videolan.org
Tue Oct 21 11:28:07 CEST 2014


On 21 Oct, Diego Biurrun wrote :
> 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 ...

We're looking on how to do that in the client app, tbh.

But, no, we did not do this (obvious) idea.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdcss-devel mailing list