checks: set pipelines to NULL state in parse-launch unit test
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 10 Aug 2009 11:01:48 +0000 (12:01 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 10 Aug 2009 11:01:48 +0000 (12:01 +0100)
Fixes timeouts in gst_task_cleanup_all().

tests/check/pipelines/parse-launch.c

index 8272bc4..f77cdea 100644 (file)
@@ -413,6 +413,8 @@ run_delayed_test (const gchar * pipe_str, const gchar * peer,
 
   gst_object_unref (src);
   gst_object_unref (sink);
+
+  gst_element_set_state (pipe, GST_STATE_NULL);
   gst_object_unref (pipe);
 }