From: Wim Taymans Date: Tue, 28 Jul 2009 14:11:18 +0000 (+0200) Subject: pulsesrc: set maxlength always to -1 X-Git-Tag: RELEASE-0.10.16~295 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19233e9671192e2cba3fb841211f314eb2f2eb94;p=platform%2Fupstream%2Fgst-plugins-good.git pulsesrc: set maxlength always to -1 --- diff --git a/ext/pulse/pulsesrc.c b/ext/pulse/pulsesrc.c index 4a29eb7..9126ec1 100644 --- a/ext/pulse/pulsesrc.c +++ b/ext/pulse/pulsesrc.c @@ -930,7 +930,7 @@ gst_pulsesrc_prepare (GstAudioSrc * asrc, GstRingBufferSpec * spec) pa_threaded_mainloop_lock (pulsesrc->mainloop); - buf_attr.maxlength = spec->segtotal * spec->segsize * 2; + buf_attr.maxlength = -1; buf_attr.tlength = -1; buf_attr.prebuf = 0; buf_attr.minreq = -1;