systemclock: Clean up the tests a bit.
authorJan Schmidt <thaytan@noraisin.net>
Wed, 25 Mar 2009 23:03:38 +0000 (23:03 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Thu, 26 Mar 2009 12:18:09 +0000 (12:18 +0000)
commit4ef524f5eced2a02c63592437795e7e0fc83fa96
tree51397e43220eee194a94612bbf83b38b57340dce
parentb35f4248581af22c986186043df205a3588592f7
systemclock: Clean up the tests a bit.

Add some cleanups to the system clock tests, to free all the memory and
unschedule/unref all clock IDs we allocate.

Use a mutex in one test to avoid potential threading problems on multicore
machines.
tests/check/gst/gstsystemclock.c