Commit 5c97aa2e authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

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

parent 974b7bd4
......@@ -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;
}
}
......
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment