From a6c84b2ae6b7c18a9696efb5578b0556faa09e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 10 Aug 2009 11:42:25 +0100 Subject: [PATCH] checks: set pipeline back to NULL state in GstBus unit test Fixes timeout in gst_task_cleanup_all(). --- tests/check/gst/gstbus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check/gst/gstbus.c b/tests/check/gst/gstbus.c index 6a5068a5ad..9151fdd0bd 100644 --- a/tests/check/gst/gstbus.c +++ b/tests/check/gst/gstbus.c @@ -557,6 +557,8 @@ GST_START_TEST (test_custom_main_context) GST_INFO ("running event loop, ctx=%p", ctx); g_main_loop_run (loop); + gst_element_set_state (pipeline, GST_STATE_NULL); + /* clean up */ if (ctx) g_main_context_unref (ctx);