mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
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:
parent
2dd7336e68
commit
2c7ed823e5
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue