summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-08-25 10:01:47 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-08-25 10:01:47 +0000
commit74c68bb7fcee8b23558f82780bd6279b500c9caa (patch)
treea4d2a50260fa01f1ffd6679aeb5b05d0b97b5caf /check
parent66555704dd6cd26fdf08318b3ae4a25664f3f592 (diff)
check/generic/states.c: Cleanup can be done at the end.
Original commit message from CVS: * check/generic/states.c: (GST_START_TEST): Cleanup can be done at the end. * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize), (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock), (gst_task_get_state), (gst_task_start), (gst_task_pause): Oh boy.. Thanks for finding this, Thomas.
Diffstat (limited to 'check')
-rw-r--r--check/generic/states.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/check/generic/states.c b/check/generic/states.c
index a441686ad..41d8fba73 100644
--- a/check/generic/states.c
+++ b/check/generic/states.c
@@ -50,9 +50,8 @@ GST_START_TEST (test_state_changes)
gst_element_set_state (element, GST_STATE_PAUSED);
gst_element_set_state (element, GST_STATE_NULL);
gst_object_unref (GST_OBJECT (element));
-
- gst_task_cleanup_all ();
}
+ gst_task_cleanup_all ();
}
GST_END_TEST;