audiosrc: fix get_offset
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 17 Jun 2009 12:00:23 +0000 (14:00 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 17 Jun 2009 12:00:23 +0000 (14:00 +0200)
commitffd90dda89f92b0138d26f1f203360f60846d09c
treecc9cdf28e685dc930d66bfb7586ad2ab6b33d65a
parent57a13f28de3b062995ff3eeccc12d5277bf562ae
audiosrc: fix get_offset

When we need to jump to the most recently captured sample, jump to where the
next sample will be written instead of to some old data.

Fixes #581460
gst-libs/gst/audio/gstbaseaudiosrc.c