gst/playback/gstplaybasebin.c: Explicit state change to workaround refcount bugs.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Explicit state change to workaround refcount bugs.
This commit is contained in:
Ronald S. Bultje 2005-01-22 17:26:05 +00:00
parent b6cd42a6f2
commit 4e83f97dc0
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-01-22 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Explicit state change to workaround refcount bugs.
2005-01-22 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/avi/gstavimux.c: (gst_avimux_write_tag),

View file

@ -1666,6 +1666,7 @@ gst_play_base_bin_change_state (GstElement * element)
remove_groups (play_base_bin);
break;
case GST_STATE_READY_TO_NULL:
gst_element_set_state (play_base_bin->thread, GST_STATE_NULL);
gst_object_unref (GST_OBJECT (play_base_bin->thread));
play_base_bin->source = NULL;
play_base_bin->decoder = NULL;