[DVDnav-discuss] [PATCH] detect if path is physical dvd

John Stebbins stebbins at jetheaddev.com
Sat Oct 13 14:44:59 CEST 2012


Hi Erik,

We are evaluating using your github versions of dvdread and dvdnav in
handbrake.  So I've been having a close look at what patches you've
accepted and what's still missing.  I've got a few patches I'm going to
through at you.

The first was part of another patch that I submitted.  You merged the
rest but left this part out. 

It's purpose is to detect if an input path is a physical drive (on
windows), and if so attempt to open it as an image.  The current code
will only attempt to open the path as an image if the path contains no
directory components (e.g. "X:" or "X:\").  So if the path instead is
"X:\VIDEO_TS", it will fail to open it as an image and instead open it
as a directory tree and css decryption will not work. This makes the
behavior more similar to what happens on other platforms.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdvdread-mingw-cdrom-detect.patch
Type: text/x-patch
Size: 971 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20121013/481969c7/attachment.bin>


More information about the DVDnav-discuss mailing list