[571/906] mixer: fix deadlock on shutdown
authorMatthew Waters <ystreet00@gmail.com>
Wed, 5 Sep 2012 04:58:38 +0000 (14:58 +1000)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:48 +0000 (18:36 +0100)
didn't reiterate over the sinkpad's displays and reactivate them causing a deadlock

gst-libs/gst/gl/gstglmixer.c

index 745c14e..30aa633 100644 (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);