summaryrefslogtreecommitdiffstats
path: root/ext/pulse
diff options
context:
space:
mode:
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;