From ffc63da524a4cdc663f964d9418e56295b0038ce Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 8 Nov 2008 13:48:59 +0000 Subject: [PATCH] Clarified behavior of burn_source with pipes --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/libburn.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index c95bab8a..6e9c406c 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2008.11.01.121240" +#define Cdrskin_timestamP "2008.11.08.134828" diff --git a/libburn/trunk/libburn/libburn.h b/libburn/trunk/libburn/libburn.h index 9d01b107..c9223ed0 100644 --- a/libburn/trunk/libburn/libburn.h +++ b/libburn/trunk/libburn/libburn.h @@ -384,6 +384,13 @@ struct burn_source { The size of a sector depends on BURN_MODE_*. The known range is 2048 to 2352. + If this call is reading from a pipe then it will learn + about the end of data only when that pipe gets closed on the + feeder side. So if the track size is not fixed or if the pipe + delivers less than the predicted amount or if the size is not + block aligned, then burning will halt until the input process + closes the pipe. + IMPORTANT: If this function pointer is NULL, then the struct burn_source is of version >= 1 and the job of .(*read)() is done by .(*read_xt)().