Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
k3b
k3b-short-trackinfo.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File k3b-short-trackinfo.patch of Package k3b
commit fb12ab0afd49493df8d33a4e334775d9407ddfa9 Author: Stephane Berthelot <sberthelot@emisfr.com> Date: Mon Aug 8 09:39:49 2011 +0200 Too short track info dataLen returned at least on HL-DT-ST BH10LS30 Workaround the structure len like other drives but extend from 4 to 6 bytes minimum check. This avoids a 0 byte BR-R capacity bug with this drive BUG: 268307 diff --git a/libk3bdevice/k3bdevice_mmc.cpp b/libk3bdevice/k3bdevice_mmc.cpp index ab82bfa..3e7147f 100644 --- a/libk3bdevice/k3bdevice_mmc.cpp +++ b/libk3bdevice/k3bdevice_mmc.cpp @@ -309,7 +309,7 @@ bool K3b::Device::Device::readTrackInformation( UByteArray& data, int type, int // DVD-DL: 48 (MMC5) // CD: 36 (MMC2) // - if( dataLen <= 4 ) { + if( dataLen <= 6 ) { int m = mediaType(); if( m & (MEDIA_DVD_R_DL|MEDIA_DVD_R_DL_SEQ|MEDIA_DVD_R_DL_JUMP) ) dataLen = 48;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor