+2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/playback/gstplaybin.c: (gst_play_bin_dispose):
+ Set elements to NULL state before disposing of them.
+
2005-11-08 Sebastien Cote <sebas642 at yahoo dot ca>
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
}
if (play_bin->audio_sink != NULL) {
+ gst_element_set_state (play_bin->audio_sink, GST_STATE_NULL);
gst_object_unref (play_bin->audio_sink);
play_bin->audio_sink = NULL;
}
if (play_bin->video_sink != NULL) {
+ gst_element_set_state (play_bin->video_sink, GST_STATE_NULL);
gst_object_unref (play_bin->video_sink);
play_bin->video_sink = NULL;
}
if (play_bin->visualisation != NULL) {
+ gst_element_set_state (play_bin->visualisation, GST_STATE_NULL);
gst_object_unref (play_bin->visualisation);
play_bin->visualisation = NULL;
}