Added parameter to new API calls isoburn_cancel_prepared_write, isoburn_sync_after_write
This commit is contained in:
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2008.02.04.184038"
|
||||
#define Xorriso_timestamP "2008.02.04.214133"
|
||||
|
@ -780,7 +780,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
|
||||
: img_sectors ),
|
||||
media_space);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
isoburn_cancel_prepared_write(source_drive, 0);
|
||||
isoburn_cancel_prepared_write(source_drive, drive, 0);
|
||||
{ret= 0; goto ex;}
|
||||
}
|
||||
|
||||
@ -791,7 +791,7 @@ no_track:;
|
||||
Xorriso_process_msg_queues(xorriso,0);
|
||||
sprintf(xorriso->info_text,"Program error : no track in prepared disc");
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FATAL", 0);
|
||||
isoburn_cancel_prepared_write(source_drive, 0);
|
||||
isoburn_cancel_prepared_write(source_drive, drive, 0);
|
||||
{ret= -1; goto ex;}
|
||||
}
|
||||
tracks= burn_session_get_tracks(sessions[0], &num_tracks);
|
||||
@ -846,7 +846,7 @@ no_track:;
|
||||
burn_disc_free(disc);
|
||||
disc= NULL;
|
||||
/* To wait for the end of the libisofs threads and their messages. */
|
||||
isoburn_sync_after_write(source_drive, 1);
|
||||
isoburn_sync_after_write(source_drive, drive, 0);
|
||||
Xorriso_process_msg_queues(xorriso,0);
|
||||
|
||||
sprintf(xorriso->info_text, "Writing completed sucessfully.\n\n");
|
||||
|
Reference in New Issue
Block a user