From 252d94feb5862782bf0f9e58f72adfbb432be914 Mon Sep 17 00:00:00 2001 From: Wang xingchao Date: Sun, 7 Jul 2013 19:54:16 +0800 Subject: [PATCH 2/2] protocol-http: Fix assertion in do_write after rewind operation of memblockq, it may trigger assertion pa_assert(chunk.memblock). This patch guanrantee we get silence memchunk in such case. Signed-off-by: Wang xingchao --- src/pulsecore/protocol-http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulsecore/protocol-http.c b/src/pulsecore/protocol-http.c index c1dd90b..d59e098 100644 --- a/src/pulsecore/protocol-http.c +++ b/src/pulsecore/protocol-http.c @@ -607,7 +607,7 @@ static void handle_listen_prefix(struct connection *c, const char *source_name) 1, 0, 0, - NULL); + &source->silence); pa_source_output_put(c->source_output); -- 1.7.9.5