Updated to state of discussion

This commit is contained in:
2007-09-06 11:58:51 +00:00
parent 804391fc44
commit ffc4b67c77
4 changed files with 55 additions and 30 deletions

View File

@ -69,11 +69,15 @@ static int isoburn_welcome_media(struct isoburn **o, struct burn_drive *d,
/* >>> recognize unsuitable media */;
}
/* <<< now planned to be done by app
ret = isoburn_read_volset(*o);
if(ret<=0) {
(*o)->emulation_mode= -1;
goto ex;
}
*/
ret= 1;
ex:
if(caps!=NULL)
@ -114,7 +118,7 @@ int isoburn_drive_scan_and_grab(struct burn_drive_info *drive_infos[],
treatment= 2;
} else if(treatment==1 && ret<=0) {
/* >>> unsuitable media */;
/* >>> unsuitable drive address */;
ret= 0; goto ex;
}
@ -173,7 +177,7 @@ ex:
/** Retrieve media emulation and eventual isoburn emulator of drive.
@return -1 unsuitable media, 0 generic media, 1 emulated media.
*/
static int isoburn_find_emulator(struct isoburn **pt,
int isoburn_find_emulator(struct isoburn **pt,
struct burn_drive *drive, int flag)
{
int ret;