Bug fix: xorriso native mode on some drives wrote unreadble ISO images to CD
This commit is contained in:
parent
6cdbc1e680
commit
076d5ad8b0
@ -784,6 +784,7 @@ int isoburn_disc_track_lba_nwa(struct burn_drive *d,
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
struct isoburn *o;
|
struct isoburn *o;
|
||||||
|
enum burn_disc_status s;
|
||||||
|
|
||||||
#ifdef Hardcoded_cd_rW
|
#ifdef Hardcoded_cd_rW
|
||||||
/* <<< A70929 : hardcoded CD-RW with fabricated -msinfo */
|
/* <<< A70929 : hardcoded CD-RW with fabricated -msinfo */
|
||||||
@ -803,6 +804,10 @@ int isoburn_disc_track_lba_nwa(struct burn_drive *d,
|
|||||||
}
|
}
|
||||||
if(burn_drive_get_drive_role(d) != 1)
|
if(burn_drive_get_drive_role(d) != 1)
|
||||||
return(1);
|
return(1);
|
||||||
|
|
||||||
|
s= isoburn_disc_get_status(d);
|
||||||
|
if(s == BURN_DISC_BLANK) /* We do not believe in anything but nwa = lba = 0 */
|
||||||
|
return(1);
|
||||||
return(burn_disc_track_lba_nwa(d, opts, trackno, lba, nwa));
|
return(burn_disc_track_lba_nwa(d, opts, trackno, lba, nwa));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2011.07.28.195103"
|
#define Xorriso_timestamP "2011.07.31.091836"
|
||||||
|
Loading…
Reference in New Issue
Block a user