From da6b539bbe9e612247c0105ed181b9e22dc06cc0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 26 Apr 2006 17:37:10 +0000 Subject: [PATCH] ext/esd/esdsink.c: Fix compile problem by defining ESD_MAX_WRITE_SIZE if it is not in esd.h Original commit message from CVS: * ext/esd/esdsink.c: Fix compile problem by defining ESD_MAX_WRITE_SIZE if it is not in esd.h --- ChangeLog | 6 ++++++ ext/esd/esdsink.c | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5e6df9e..faedfda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-04-26 Wim Taymans + + * ext/esd/esdsink.c: + Fix compile problem by defining ESD_MAX_WRITE_SIZE if + it is not in esd.h + 2006-04-26 Tim-Philipp Müller * gst/auparse/gstauparse.c: (gst_au_parse_base_init), diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index 995f110..7af5033 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -33,6 +33,11 @@ #include +/* wtay: from my esd.h (debian unstable libesd0-dev 0.2.36-3) */ +#ifndef ESD_MAX_WRITE_SIZE +#define ESD_MAX_WRITE_SIZE (21 * 4096) +#endif + GST_DEBUG_CATEGORY_EXTERN (esd_debug); #define GST_CAT_DEFAULT esd_debug -- 2.7.4