rtspsrc: Fix deadlock when task creation is no successful

https://bugzilla.gnome.org/show_bug.cgi?id=725124
This commit is contained in:
Santiago Carot-Nemesio 2014-02-25 09:00:45 +01:00 committed by Sebastian Dröge
parent fdb5d460de
commit b9a953161f

View file

@ -7140,6 +7140,7 @@ gst_rtspsrc_start (GstRTSPSrc * src)
/* ERRORS */
task_error:
{
GST_OBJECT_UNLOCK (src);
GST_ERROR_OBJECT (src, "failed to create task");
return FALSE;
}