diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-10 11:42:25 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-10 11:55:52 +0100 |
commit | a6c84b2ae6b7c18a9696efb5578b0556faa09e2b (patch) | |
tree | a596d9f5268dd59b4da9b1fcbf58ef532f8f5a5b /tests/check/gst/gstbus.c | |
parent | 7e6966faf6f478e5e518732f7298b87e6e4f6720 (diff) |
checks: set pipeline back to NULL state in GstBus unit test
Fixes timeout in gst_task_cleanup_all().
Diffstat (limited to 'tests/check/gst/gstbus.c')
-rw-r--r-- | tests/check/gst/gstbus.c | 2 |
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); |