[571/906] mixer: fix deadlock on shutdown

didn't reiterate over the sinkpad's displays and reactivate them causing a deadlock
This commit is contained in:
Matthew Waters 2012-09-05 14:58:38 +10:00 committed by Tim-Philipp Müller
parent 2dff52334c
commit 3283e9e7de

View file

@ -2044,6 +2044,7 @@ gst_gl_mixer_change_state (GstElement * element, GstStateChange transition)
g_object_unref (mix->display);
mix->display = NULL;
}
walk = mix->sinkpads;
while (walk) {
GstGLMixerPad *sink_pad = GST_GL_MIXER_PAD (walk->data);
walk = g_slist_next (walk);