[PATCH] device name parsing

Gildas Bazin gbazin at altern.org
Sun Aug 22 01:04:45 CEST 2004


On Saturday 21 August 2004 20:32, Joey Parrish wrote:
> On Sat, Aug 21, 2004 at 10:31:44AM +0200, Sam Hocevar wrote:
> > On Thu, Aug 12, 2004, Joey Parrish wrote:
> > 
> > > This patch changes device name parsing to accept both X: and X:\ as 
raw
> > > device names.  I needed this because windows explorer hands the 
default
> > > DVD Player a drive name in X:\ form.
> > 
> >    X:\ is a directory. Is there a reason for not fixing this at the
> > right place, ie. the libdvdread level?
> 
> Yes, but I'd like it to be accepted as a device instead.  Thus the
> change.  And I didn't change it at dvdread level because the dvdcss
> level is where the device name parsing is done.
> 

Not that I mind the patch to be included in libdvdcss but if you are using 
libdvdread, you'll have to do it in your plugin as well anyway because "X:
\" is a valid path as far as libdvdread is concerned.
libdvdread will try to open "X:" as a device but will open "X:\" as a DVD 
dump (eg. you've copied the content of a DVD on the root directory of an 
hard-drive), which is IMHO the expected way to do things.

--
Gildas

-- 
This is the libdvdcss-devel mailing-list, see http://developers.videolan.org/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the libdvdcss-devel mailing list