From 6053f3a6e358e35068a26fa0b6b2b0db50f12954 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 --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/libburn.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index c95bab8..6e9c406 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2008.11.01.121240" +#define Cdrskin_timestamP "2008.11.08.134828" diff --git a/libburn/libburn.h b/libburn/libburn.h index 9d01b10..c9223ed 100644 --- a/libburn/libburn.h +++ b/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)().