[MPlayer-dev-eng] cygwin re-factoring bug

Sam Liddicott sam at liddicott.com
Sat Mar 22 18:20:01 CET 2003


In libmpdvdkit2, device.c _dvdcss_open passes dvdcss->psz_device to 
win2k_open which is expecting a device name of the form "v:" and 
converts this to '\\.\v:' internally.

However DVDOpen in dvd_reader.c and other parts wich call eventually 
_dvdcss_open already take the device name in this format \\.\v:


If I pass -dvd-device '\\.\v:' then _dvd_css open treats it NOT as a 
device but a file.

If I pass -dvd-device v: then DVDOpen fails to stat it.

The good news is:
mplayer '\\.\v:'

now plays back encrypted dvd's (without seeking); earlier cygwin mplayer 
would not play back encrypted dvd's for me.

Sam

Sam




More information about the MPlayer-dev-eng mailing list