tests/check/pipelines/stress.c: Make sure we set the pipeline back to the NULL state before dropping our final refere...

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.
This commit is contained in:
Jan Schmidt 2007-07-16 15:19:06 +00:00
parent 615cc36296
commit 54eb646c3e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
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):

View 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);
}