level: subdivide buffers for sample accurate interval handling
authorStefan Sauer <ensonic@users.sf.net>
Wed, 3 Apr 2013 17:05:38 +0000 (19:05 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 3 Apr 2013 19:40:17 +0000 (21:40 +0200)
commit2e56032031e7dda0d654bddd59efad22bb8b1183
tree2fe3f09af50a53dce96eef92d0f36143271ebbc6
parentce06005f2a67d2b2e254e5c4f56506b041187533
level: subdivide buffers for sample accurate interval handling

Previously we would skip level message when processing buffers > the requested
interval. Also the message frequency would contain quite some jitter due to only
considering them at the end of buffers.

Cleanup the tests while we're at it.
gst/level/gstlevel.c
tests/check/elements/level.c