xbmc/xbmc — comment on commit 1105398204f034026dc6df97d3c1554c354b647c
File:  line 0
By Voyager-xbmc:

This causes CSS-protected DVD playback on Windows to fail. Since elupus committed 1c6460362b92581f4c7147f7be18c1ccbb59e961 on November 5, DVD playback starts by opening VIDEO_TS.IFO. The line you just removed, caused this path to become "D:\" and that worked fine for libdvdcss. However, libdvdcss does not like starting from VIDEO_TS.IFO, see the output proof below. It does no longer use the Win2K API method but "libc" and that doesn't work well...

DVDPlayer: Opening: D:\VIDEO_TS\VIDEO_TS.IFO
CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
'XBMC.exe': Loaded 'C:\Windows\SysWOW64\dxva2.dll', Cannot find or open the PDB file
DXVA - cheking samples array size using 842094158 render target
DXVA - cheking samples array size using 842094169 render target
Thread CDVDPlayer start, auto delete: 0
Creating InputStream
------ Window Init (DialogBusy.xml) ------
Alloc resources: 0.04ms (0.03 ms skin load)
SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/libdvdnav.dll)
CWinEventsWin32::WndProcWindow is active
'XBMC.exe': Loaded 'C:\DATA\git\xbmc\system\players\dvdplayer\libdvdnav.dll', Binary was not built with debug information.
'XBMC.exe': Loaded 'C:\DATA\git\xbmc\system\players\dvdplayer\libdvdcss-2.dll', Binary was not built with debug information.
CWinEventsWin32::WndProc: Focus switched to process C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe
msg: libdvdnav: Using dvdnav version 4.1.3
msg: libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdcss debug:
msg: opening target `D:\VIDEO_TS'
msg:
libdvdcss debug:
using libc for access
msg:
libdvdcss debug:
msg: cannot open D:\VIDEO_TS (No error)
msg:
msg: libdvdcss error: failed to open device
msg: libdvdread: Could not open D:\VIDEO_TS with libdvdcss.
msg: libdvdread: Can't open D:\VIDEO_TS for reading
msg: libdvdread: Device (null) inaccessible, CSS authentication not available.
msg: libdvdnav: vm: DVD Title:
msg: libdvdnav: Unable to find map file 'RIVE=C:/.dvdnav/.map'
libdvdcss debug:
msg: opening target `D:\VIDEO_TS/VIDEO_TS.IFO'
msg:
libdvdcss debug:
using libc for access
msg:
msg: libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions:
msg: 2
msg: 4
msg: 5
msg:
libdvdcss debug:
msg: opening target `D:\VIDEO_TS/VIDEO_TS.VOB'
msg:
libdvdcss debug:
using libc for access
msg:
libdvdcss debug:
msg: cracking title key at block 0
msg:
CWinEventsWin32::WndProcWindow is active
libdvdcss debug:
read returned 0 (end of device?)
msg:
libdvdcss debug:
end of title reached
msg:
libdvdcss debug:
msg: successful attempts 0/0, scrambled blocks 0/6
msg:
libdvdcss debug:
no scrambled sectors found
msg:
libdvdcss debug:
msg: title key is 00:00:00:00:00
msg:
libdvdcss debug:
unencrypted title
msg:
CDVDInputStreamNavigator::Open - Setting region mask 1a
CDVDPlayer::SetGlobalAVDelay: Global AV delay set to 0 msec
DVDPlayer: playing a dvd with menu's
Creating Demuxer
SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avutil-50.dll)
'XBMC.exe': Loaded 'C:\DATA\git\xbmc\system\players\dvdplayer\avutil-50.dll', Binary was not built with debug information.
SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcore-0.dll)
'XBMC.exe': Loaded 'C:\DATA\git\xbmc\system\players\dvdplayer\avcore-0.dll', Binary was not built with debug information.
SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcodec-52.dll)
'XBMC.exe': Loaded 'C:\DATA\git\xbmc\system\players\dvdplayer\avcodec-52.dll', Binary was not built with debug information.
SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-52.dll)
'XBMC.exe': Loaded 'C:\DATA\git\xbmc\system\players\dvdplayer\avformat-52.dll', Binary was not built with debug information.
libdvdcss debug:
msg: opening target `D:\VIDEO_TS/VTS_01_0.IFO'
msg:
libdvdcss debug:
using libc for access
msg:
msg: libdvdcss error: failed creating cache directory
DVDNAV_HIGHLIGHT: Highlight button 1
libdvdcss debug:
msg: opening target `D:\VIDEO_TS/VTS_01_1.VOB'
msg:
libdvdcss debug:
using libc for access
msg:
libdvdcss debug:
msg: cracking title key at block 0
msg:
libdvdcss debug:
read returned 0 (end of device?)
msg:
libdvdcss debug:
end of title reached
msg:
libdvdcss debug:
msg: successful attempts 0/0, scrambled blocks 0/0
msg:
libdvdcss debug:
msg: title key is 00:00:00:00:00
msg:
msg: libdvdcss error: fatal error in vts css key
libdvdcss debug:
msg: opening target `D:\VIDEO_TS/VTS_01_2.VOB'
msg:
libdvdcss debug:
using libc for access
msg:
libdvdcss debug:
msg: cracking title key at block 0
msg:
CWinEventsWin32::WndProcWindow is active
CWinEventsWin32::WndProc: Focus switched to process C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe
libdvdcss debug:
read returned 0 (end of device?)
msg:
libdvdcss debug:
end of title reached
msg:
libdvdcss debug:
msg: successful attempts 0/0, scrambled blocks 0/150
msg:
libdvdcss debug:
no scrambled sectors found
msg:
libdvdcss debug:
msg: title key is 00:00:00:00:00
msg:
libdvdcss debug:
unencrypted title
msg:
libdvdcss debug:
msg: opening target `D:\VIDEO_TS/VTS_01_3.VOB'
msg:
libdvdcss debug:
using libc for access
msg:
libdvdcss debug:
msg: cracking title key at block 0
msg:
libdvdcss debug:
read returned 0 (end of device?)
msg:
libdvdcss debug:
end of title reached
msg:
libdvdcss debug:
msg: successful attempts 0/0, scrambled blocks 0/82
msg:
libdvdcss debug:
no scrambled sectors found
msg:
libdvdcss debug:
msg: title key is 00:00:00:00:00
msg:
libdvdcss debug:
unencrypted title
msg:
libdvdcss debug:
msg: opening target `D:\VIDEO_TS/VTS_01_4.VOB'
msg:
libdvdcss debug:
using libc for access
msg:
libdvdcss debug:
msg: cracking title key at block 0
msg:
libdvdcss debug:
read returned 0 (end of device?)
msg:
libdvdcss debug:
end of title reached
msg:
libdvdcss debug:
msg: successful attempts 0/0, scrambled blocks 0/0
msg:
libdvdcss debug:
msg: title key is 00:00:00:00:00
msg:
msg: libdvdcss error: fatal error in vts css key
libdvdcss debug:
msg: opening target `D:\VIDEO_TS/VTS_01_5.VOB'
msg:
libdvdcss debug:
using libc for access
msg:
libdvdcss debug:
msg: cracking title key at block 0
msg:
libdvdcss debug:
read returned 0 (end of device?)
msg:
libdvdcss debug:
end of title reached
msg:
libdvdcss debug:
msg: successful attempts 0/0, scrambled blocks 0/0
msg:
libdvdcss debug:
msg: title key is 00:00:00:00:00
msg:
msg: libdvdcss error: fatal error in vts css key
- DVDNAV_VTS_CHANGE (HOLDING)