Enabled -isosize for first track by help of fifo and without seeking

This commit is contained in:
2007-03-28 10:07:09 +00:00
parent 5d65697697
commit cc5560fc86
4 changed files with 169 additions and 79 deletions

View File

@ -353,9 +353,13 @@ int burn_track_set_sectors(struct burn_track *t, int sectors)
}
/* ts A70218 */
/* ts A70218 , API since A70328 */
int burn_track_set_size(struct burn_track *t, off_t size)
{
if (t->source == NULL)
return 0;
if (t->source->set_size == NULL)
return 0;
t->open_ended = (size <= 0);
return t->source->set_size(t->source, size);
}