Defaulting -stream_ecording "data" to "100m"

master
Thomas Schmitt 14 years ago
parent d59a2c5907
commit bb93624293
  1. 2
      xorriso/xorriso_timestamp.h
  2. 7
      xorriso/xorrisoburn.c

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

@ -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,9 +1376,8 @@ 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 */
burn_write_opts_set_stream_recording(burn_options, data_lba);
if(ret > 0 && data_lba >= 16)
burn_write_opts_set_stream_recording(burn_options, data_lba);
}
ret= Xorriso_sanitize_image_size(xorriso, drive, disc, burn_options, flag&1);

Loading…
Cancel
Save