summaryrefslogtreecommitdiffstats
path: root/ext/pulse
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-07-28 16:11:18 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-07-28 18:34:15 +0200
commit19233e9671192e2cba3fb841211f314eb2f2eb94 (patch)
tree86544f410f9f1349659a7515fbd7f545bcff982b /ext/pulse
parent1a89388f97e4c33617c6c4dcf9375494b5b123f0 (diff)
pulsesrc: set maxlength always to -1
Diffstat (limited to 'ext/pulse')
-rw-r--r--ext/pulse/pulsesrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pulse/pulsesrc.c b/ext/pulse/pulsesrc.c
index 4a29eb71..9126ec13 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;