From: Ronald S. Bultje Date: Sat, 22 Jan 2005 17:26:05 +0000 (+0000) Subject: gst/playback/gstplaybasebin.c: Explicit state change to workaround refcount bugs. X-Git-Tag: BRANCH-GSTREAMER-0_8-ROOT~92 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e83f97dc0433829c023f069b1e3a4351259ab60;p=platform%2Fupstream%2Fgst-plugins-base.git 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. --- diff --git a/ChangeLog b/ChangeLog index df2b9dc..50ea6f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-01-22 Ronald S. Bultje + * gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state): + Explicit state change to workaround refcount bugs. + +2005-01-22 Ronald S. Bultje + * gst/avi/gstavimux.c: (gst_avimux_write_tag), (gst_avimux_riff_get_avi_header): Fix... diff --git a/gst/playback/gstplaybasebin.c b/gst/playback/gstplaybasebin.c index fd76660..05e88ee 100644 --- a/gst/playback/gstplaybasebin.c +++ b/gst/playback/gstplaybasebin.c @@ -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;