tests/check/pipelines/stress.c: Make sure we set the pipeline back to the NULL state...
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 16 Jul 2007 15:19:06 +0000 (15:19 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Mon, 16 Jul 2007 15:19:06 +0000 (15:19 +0000)
Original commit message from CVS:
* tests/check/pipelines/stress.c: (GST_START_TEST):
Make sure we set the pipeline back to the NULL state before
dropping our final reference.

ChangeLog
tests/check/pipelines/stress.c

index ea9b44f..a287e31 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
 
+       * tests/check/pipelines/stress.c: (GST_START_TEST):
+       Make sure we set the pipeline back to the NULL state before
+       dropping our final reference.
+
+2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
+
        * tests/check/elements/tee.c: (GST_START_TEST):
        Make the tee stress-test a little less stressful so it doesn't just
        time out on slow-machines, and remove a small race when it's starting 
index 9d63ea5..7d8ddf9 100644 (file)
@@ -74,6 +74,7 @@ GST_START_TEST (test_stress_preroll)
     g_main_context_iteration (NULL, TRUE);
   }
 
+  gst_element_set_state (pipeline, GST_STATE_NULL);
   gst_object_unref (pipeline);
 }