Small theme fixes, and now use the available space as reported by burn_disc_available_space (either the write_opts need to be passed, or libburn is really innacurate)
This commit is contained in:
@@ -49,7 +49,13 @@ ecdb_aquire_drive_info(void)
|
||||
|
||||
drive->profile_name = eina_stringshare_add(speeds->profile_name);
|
||||
drive->profile_loaded = speeds->profile_loaded;
|
||||
drive->capacity = speeds->end_lba * 2048;
|
||||
|
||||
if (burn_drive_grab(drives_current[i].drive, 1))
|
||||
{
|
||||
drive->capacity = burn_disc_available_space(drives_current[i].drive,
|
||||
NULL);
|
||||
burn_drive_release(drives_current[i].drive, 0);
|
||||
}
|
||||
|
||||
while (speeds->next)
|
||||
{
|
||||
|
Reference in New Issue
Block a user