pulsesrc: set maxlength always to -1

This commit is contained in:
Wim Taymans 2009-07-28 16:11:18 +02:00
parent 1a89388f97
commit 19233e9671

View file

@ -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;