Re: libdvdread

Bj|rn Englund <[email protected]> Fri, 3 Feb 2006 13:34:13 +0100
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
Fri Feb 03 2006, maurizio wrote:

> sorry if I'm off topic. I have a few scratched DVD which I'd like to 
> copy but I cannot because libdvdread exit when reach a bad sector.
> Is there a way to tell libdvdread to ignore read error?
> I know this option is supported in DVDdecrypter but I would like to stay 
> on Linux (and avoid to use wine).

What program are you using that is using libdvdread?
What function in libdvdread (v0.9.5 ?) is failing and with what return value
(and/or error message)?

Libdvdread should not exit() when encountering a read error, just return
a short read. The program that is calling libdvdread should catch this short
read and retry reading or skip the unreadable blocks.

I guess we could implement this read retry in libdvdread, but there
would be no way to tell the calling program if a block has errors or not
with the current interface I think. 

/Bj|rn