From 43795c9216a67c8e45823b254652e30ee886ad9c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 20 Sep 2009 11:06:21 +0000 Subject: [PATCH] Adjusted xorriso -as cdrecord fifo chunk size to -xa1 --- libisoburn/trunk/xorriso/xorriso.c | 2 +- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- libisoburn/trunk/xorriso/xorrisoburn.c | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libisoburn/trunk/xorriso/xorriso.c b/libisoburn/trunk/xorriso/xorriso.c index a012eea2..f1c9e8af 100644 --- a/libisoburn/trunk/xorriso/xorriso.c +++ b/libisoburn/trunk/xorriso/xorriso.c @@ -7510,7 +7510,7 @@ cannot_address:; for(i= 0; ifs < 64) xorriso->fs= 64; - fifo_src= burn_fifo_source_new(data_src, 2048, xorriso->fs, 0); + fifo_src= burn_fifo_source_new(data_src, 2048 + 8 * !!(flag & 4), + xorriso->fs, 0); if(fifo_src == NULL) { - sprintf(xorriso->info_text, "Could not create fifo object of 4 MB"); + sprintf(xorriso->info_text, "Could not create fifo object of %.f MB", + ((double) xorriso->fs) / 1024.0 / 1024.0); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FATAL", 0); ret= 0; goto ex; }