tests: amrparse: clean up test
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 2 Jun 2016 13:00:01 +0000 (15:00 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 2 Jun 2016 13:18:53 +0000 (14:18 +0100)
commit507e99cb969eaab92dd3686068dd9991574975b2
tree538dcbccd42c274e246fccae2433b83c1d443799
parent1d2db2ba4f223e27e6d20dd5e0679156f70de1e6
tests: amrparse: clean up test

- use GST_CHECK_MAIN() to reduce boilerplate
- unref the input caps using a teardown function to prevent leaks

https://bugzilla.gnome.org/show_bug.cgi?id=767156
tests/check/elements/amrparse.c