Allowed chunk_size= values up to 1024s

master
Thomas Schmitt 11 years ago
parent 8ade912d76
commit 20ccd705f0
  1. 11
      xorriso/drive_mgt.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -2114,9 +2114,12 @@ int Xorriso_check_interval(struct XorrisO *xorriso, struct SpotlisT *spotlist,
int tag_type= 0, valid, was_sb_tag= 0, in_track_gap= 0;
char *comparison= "", *sev_text= "DEBUG", *tag_type_name= "";
Xorriso_alloc_meM(data, char, 64*1024);
if(read_chunk > 32)
read_chunk= 32;
if(read_chunk > 1024)
read_chunk= 1024;
else if(read_chunk < 1)
read_chunk= 1;
Xorriso_alloc_meM(data, char, 2 * read_chunk * 1024);
ret= Xorriso_get_drive_handles(xorriso, &dinfo, &drive,
"on attempt to check media readability",
@ -2663,7 +2666,7 @@ libburn_whole_disc:;
Xorriso_pacifier_callback(xorriso, "blocks read",
xorriso->pacifier_count, xorriso->pacifier_total, "",
1 | 8 | 16 | 32);
1 | 8 | 16 | 32 | (128 * (job->use_dev == 1)));
ret= 1;
ex:;

@ -1 +1 @@
#define Xorriso_timestamP "2012.02.01.162935"
#define Xorriso_timestamP "2012.02.01.163200"

Loading…
Cancel
Save