New flag bit12 with isoburn_read_iso_head()
This commit is contained in:
parent
163129ca6a
commit
6a921c7411
@ -1291,6 +1291,8 @@ int isoburn_read_iso_head_parse(unsigned char *data,
|
|||||||
0= do not return anything in info (do not even touch it)
|
0= do not return anything in info (do not even touch it)
|
||||||
1= copy volume id to info (info needs 33 bytes)
|
1= copy volume id to info (info needs 33 bytes)
|
||||||
2= copy 64 kB header to info (needs 65536 bytes)
|
2= copy 64 kB header to info (needs 65536 bytes)
|
||||||
|
bit12= read even if the start of multi-session emulation
|
||||||
|
yielded a read error
|
||||||
bit13= do not read head from media but use first 64 kB from info
|
bit13= do not read head from media but use first 64 kB from info
|
||||||
bit14= check both half buffers (not only second)
|
bit14= check both half buffers (not only second)
|
||||||
return 2 if found in first block
|
return 2 if found in first block
|
||||||
@ -1333,7 +1335,7 @@ int isoburn_read_iso_head(struct burn_drive *d, int lba,
|
|||||||
if(ret > 0 && to_read >= (off_t) (36 * 1024)) {
|
if(ret > 0 && to_read >= (off_t) (36 * 1024)) {
|
||||||
ret= isoburn_find_emulator(&o, d, 0);
|
ret= isoburn_find_emulator(&o, d, 0);
|
||||||
if(ret > 0)
|
if(ret > 0)
|
||||||
if(o->media_read_error)
|
if(o->media_read_error && !(flag & (1 << 12)))
|
||||||
{ret= (-1 * !!(flag & (1 << 15))); goto ex;}
|
{ret= (-1 * !!(flag & (1 << 15))); goto ex;}
|
||||||
if(to_read >= (off_t) (64 * 1024))
|
if(to_read >= (off_t) (64 * 1024))
|
||||||
to_read= 64 * 1024;
|
to_read= 64 * 1024;
|
||||||
|
@ -725,6 +725,9 @@ void isoburn_toc_disc_free(struct isoburn_toc_disc *disc);
|
|||||||
1= copy volume id to info (info needs 33 bytes)
|
1= copy volume id to info (info needs 33 bytes)
|
||||||
2= @since 0.2.2 :
|
2= @since 0.2.2 :
|
||||||
copy 64 kB header to info (needs 65536 bytes)
|
copy 64 kB header to info (needs 65536 bytes)
|
||||||
|
bit12= @since 1.5.6 :
|
||||||
|
Read even if the start of multi-session emulation
|
||||||
|
yielded a read error
|
||||||
bit13= @since 0.2.2:
|
bit13= @since 0.2.2:
|
||||||
Do not read head from medium but use first 64 kB from
|
Do not read head from medium but use first 64 kB from
|
||||||
info.
|
info.
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2023.02.08.200727"
|
#define Xorriso_timestamP "2023.02.24.080036"
|
||||||
|
Loading…
Reference in New Issue
Block a user