Defaulting -stream_ecording "data" to "100m"

This commit is contained in:
Thomas Schmitt 2009-03-13 15:07:24 +00:00
parent d59a2c5907
commit bb93624293
2 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2009.03.12.141647"
#define Xorriso_timestamP "2009.03.13.150731"

View File

@ -890,6 +890,8 @@ int Xorriso_make_write_options(
burn_drive_set_speed(drive, xorriso->speed, xorriso->speed);
if(xorriso->do_stream_recording == 1)
stream_mode= 1;
else if(xorriso->do_stream_recording == 2)
stream_mode= 51200; /* 100 MB */
else if(xorriso->do_stream_recording >= 16)
stream_mode= xorriso->do_stream_recording;
burn_write_opts_set_stream_recording(*burn_options, stream_mode);
@ -1374,8 +1376,7 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
isoburn_igopt_get_effective_lba(sopts, &(xorriso->session_lba));
if(xorriso->do_stream_recording == 2) {
ret= isoburn_igopt_get_data_start(sopts, &data_lba);
if(ret <=0 || data_lba < 16)
data_lba= 51200; /* 100 MB */
if(ret > 0 && data_lba >= 16)
burn_write_opts_set_stream_recording(burn_options, data_lba);
}