Make sure the thread goes back to NULL before leaving the thread context

Original commit message from CVS:
Make sure the thread goes back to NULL before leaving the thread context
This commit is contained in:
Wim Taymans 2002-12-03 21:34:18 +00:00
parent 2dd7336e68
commit 2c7ed823e5
2 changed files with 2 additions and 0 deletions

View file

@ -42,6 +42,7 @@ iterator (GstElement *bin)
{
gst_element_set_state (bin, GST_STATE_PLAYING);
while (gst_bin_iterate (GST_BIN (bin))) g_print ("+");
gst_element_set_state (bin, GST_STATE_NULL);
g_print ("\n");
done = TRUE;
}

View file

@ -42,6 +42,7 @@ iterator (GstElement *bin)
{
gst_element_set_state (bin, GST_STATE_PLAYING);
while (gst_bin_iterate (GST_BIN (bin))) g_print ("+");
gst_element_set_state (bin, GST_STATE_NULL);
g_print ("\n");
done = TRUE;
}