Allowed chunk_size= values up to 1024s
This commit is contained in:
parent
8ade912d76
commit
20ccd705f0
@ -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;
|
int tag_type= 0, valid, was_sb_tag= 0, in_track_gap= 0;
|
||||||
char *comparison= "", *sev_text= "DEBUG", *tag_type_name= "";
|
char *comparison= "", *sev_text= "DEBUG", *tag_type_name= "";
|
||||||
|
|
||||||
Xorriso_alloc_meM(data, char, 64*1024);
|
if(read_chunk > 1024)
|
||||||
if(read_chunk > 32)
|
read_chunk= 1024;
|
||||||
read_chunk= 32;
|
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,
|
ret= Xorriso_get_drive_handles(xorriso, &dinfo, &drive,
|
||||||
"on attempt to check media readability",
|
"on attempt to check media readability",
|
||||||
@ -2663,7 +2666,7 @@ libburn_whole_disc:;
|
|||||||
|
|
||||||
Xorriso_pacifier_callback(xorriso, "blocks read",
|
Xorriso_pacifier_callback(xorriso, "blocks read",
|
||||||
xorriso->pacifier_count, xorriso->pacifier_total, "",
|
xorriso->pacifier_count, xorriso->pacifier_total, "",
|
||||||
1 | 8 | 16 | 32);
|
1 | 8 | 16 | 32 | (128 * (job->use_dev == 1)));
|
||||||
ret= 1;
|
ret= 1;
|
||||||
ex:;
|
ex:;
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2012.02.01.162935"
|
#define Xorriso_timestamP "2012.02.01.163200"
|
||||||
|
Loading…
Reference in New Issue
Block a user