[571/906] mixer: fix deadlock on shutdown
authorMatthew Waters <ystreet00@gmail.com>
Wed, 5 Sep 2012 04:58:38 +0000 (14:58 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:25 +0000 (19:31 +0000)
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);