GNOME Bugzilla – Bug 600945
silence buffers at start reusing pulsesrc
Last modified: 2009-11-09 11:20:05 UTC
Created attachment 147088 [details] test app When resuing pulse src a 2nd time (PLAYING -> READY -> PLAYING), one receives empty (silence) buffers initialy that seem to cover as much time as the pulsesrc was running previously. Attached is a test to reproduce it, build as: gcc `pkg-config gstreamer-0.10 --cflags --libs` -o test
commit 4f3f9a105482615ca47cb05a07cb4525f2733529 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Fri Nov 6 12:19:47 2009 +0100 basesrc: fix startup position in the ringbuffer When we start and we need to produce the first sample, go to the next sample that will be written into the ringbuffer instead of trying to go to sample 0. We relied on rather small ringbuffer sizes to correctly go to the current sample, which breaks whith large buffers. Fixes #600945