Fixed bug, blank discs also need a volset in truct isbourn.
This commit is contained in:
parent
b765efef60
commit
f49d23a8c5
@ -86,7 +86,7 @@ int isoburn_read_volset(struct burn_drive *d, struct isoburn_read_opts *read_opt
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (!o) {
|
if (!o) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = isoburn_disc_get_status(d);
|
status = isoburn_disc_get_status(d);
|
||||||
@ -109,6 +109,8 @@ int isoburn_read_volset(struct burn_drive *d, struct isoburn_read_opts *read_opt
|
|||||||
*volset = iso_volset_new(volume, "NEW VOLSET");
|
*volset = iso_volset_new(volume, "NEW VOLSET");
|
||||||
if (!*volset)
|
if (!*volset)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
o->target_volset = *volset;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user