playsink: Fix deadlock in the audio/video converter bins when linking fails

This commit is contained in:
Sebastian Dröge 2011-06-02 11:53:10 +02:00
parent 974b7bd4ed
commit 5c97aa2e5c
2 changed files with 4 additions and 0 deletions

View file

@ -248,6 +248,8 @@ link_failed:
gst_pad_set_blocked_async_full (self->sink_proxypad, FALSE,
(GstPadBlockCallback) pad_blocked_cb, gst_object_ref (self),
(GDestroyNotify) gst_object_unref);
GST_PLAY_SINK_AUDIO_CONVERT_UNLOCK (self);
return;
}
}

View file

@ -228,6 +228,8 @@ link_failed:
gst_pad_set_blocked_async_full (self->sink_proxypad, FALSE,
(GstPadBlockCallback) pad_blocked_cb, gst_object_ref (self),
(GDestroyNotify) gst_object_unref);
GST_PLAY_SINK_VIDEO_CONVERT_UNLOCK (self);
return;
}
}