audiotestsrc: fix buffer size of last buffer
authorSimon Berg <ksb@kth.se>
Sun, 24 Mar 2013 20:41:44 +0000 (20:41 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 24 Mar 2013 20:53:05 +0000 (20:53 +0000)
commitd8b42e993b6f836f7c11baacbf6ee5dea84b67b0
treeb1d0a8348cbcf710c328867b24e9e3aed8c608c8
parentbf642ea085bae7020d2f9aab7912890044465954
audiotestsrc: fix buffer size of last buffer

The last buffer before EOS may be smaller than the maximum
size. The current code doesn't adjust for this, it only sets
the duration and offsets.

https://bugzilla.gnome.org/show_bug.cgi?id=696411
gst/audiotestsrc/gstaudiotestsrc.c