[libdvdnav-devel] [libdvdread][BUG] Impossible to open DVD directory tree from mounted DVD media

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Fri Oct 3 04:41:37 CEST 2014


On Thu, 02 Oct 2014 06:01:43 -0700, Jean-Baptiste Kempf wrote:

> Le 01/10/2014 23:33, Natrio a écrit :
>
>> The libdvdreadrefuses to open DVD directory tree, if it stored on
>> DVD media.
>> Instead, libdvdread always tries to open device by "guessed"
>> name,ignoring a specified custom path:
> 
> Using env variables is not really a good way.

Just to add my agreement with this. Environment variables can be
useful for some things (e.g. MALLOC_CHECK_), but they should not make
changes to the semantics of library calls that applications are not
expecting.

I agree that the DVDOpen call seems to be doing a whole lot of
second-guessing as to what the caller really means, which can get in
the way. The answer to this would be to provide an alternative open
call that gets rid of all that guessing, and makes the options more
explicit.



More information about the libdvdnav-devel mailing list