summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/check/gst/gstbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/gst/gstbus.c b/tests/check/gst/gstbus.c
index 6a5068a5a..9151fdd0b 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);