audiotestssrc: truncate the seek pos to the sample and round the time
authorStefan Sauer <ensonic@users.sf.net>
Fri, 29 Mar 2013 15:44:17 +0000 (16:44 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 29 Mar 2013 15:46:14 +0000 (16:46 +0100)
commitf68c95ebaae922f7af136fff471bcd70461e5e77
tree730a1d199329596c92a4776e4c5f1e2910bad72c
parent3d1322f08ec21300978c10b67e5ebe08b3f0c46b
audiotestssrc: truncate the seek pos to the sample and round the time

Before it was done the other way around and that can trigger the assert that
already is in place. This also makes more sense; when seeking to time x, we want
then sample that is <= that pos.
gst/audiotestsrc/gstaudiotestsrc.c