audiobasesink: Properly handle GAP events
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 24 Oct 2012 09:16:54 +0000 (11:16 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 24 Oct 2012 09:19:05 +0000 (11:19 +0200)
commitb793d0bfae531e47eda7afb3af66971f19ec3d07
treeab657789ae2b2de50868cf144d18b99baa4d9596
parent356579157eeb17478435e7bf66f6f67d693b83f8
audiobasesink: Properly handle GAP events

These are now converted into silence buffers if they have
a duration or cause the ringbuffer and clock to be started
if they don't have a duration.

Fixes bug #685273.
gst-libs/gst/audio/gstaudiobasesink.c