pulsesink: Uncork stream while flushing the ringbuffer
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 17 Jan 2011 14:39:16 +0000 (20:09 +0530)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 17 Jan 2011 15:40:12 +0000 (15:40 +0000)
commite18e25a324c6367210f0210f48afeab7ca38c529
treedb0b7eeb8e527453f4fb9086aae618e8ea99620c
parent0124302b58c2c575245bcec36cc9d12dd75761e1
pulsesink: Uncork stream while flushing the ringbuffer

After starting the ringbuffer, we wait for enough data to arrive before
uncorking the stream. This will cause the pipeline to stall if we get an
EOS (or otherwise need to flush the stream) before sufficient data
becomes available. This patch makes sure that the stream is uncorked
while flushing to avoid this problem.

Fixes issue with a webkit unit test testing reverse playback of
an MP4 H.264/AAC file.

https://bugzilla.gnome.org/show_bug.cgi?id=639740
ext/pulse/pulsesink.c