baseaudiosink: Resync when ringbuffer resets
authorEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 10 Jul 2012 16:32:13 +0000 (18:32 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 12 Jul 2012 07:51:35 +0000 (09:51 +0200)
commitc9428c96b1ad3dc3ffd9b3041d316f0d1e95e28a
treed58b8d8ccab6d9def3f97bb74b0268859bf086ea
parenta476b6cbfbdfb6f631102eafd610776c1466fc7e
baseaudiosink: Resync when ringbuffer resets

When the ringbuffer gets restarted (like in setcaps), we *will* have
to resync against the new values.

Without this we end up blindly assuming the new samples align to the
old ones.
gst-libs/gst/audio/gstaudiobasesink.c