gst/gstpad.c: Die evil deadlock, die !

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_internal_links_default):
Die evil deadlock, die !
This commit is contained in:
Edward Hervey 2008-08-30 12:07:41 +00:00
parent dd80b2030c
commit 98354dc527
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/gstpad.c: (gst_pad_get_internal_links_default):
Die evil deadlock, die !
2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/gstutils.c: (gst_element_get_compatible_pad):

View file

@ -2943,7 +2943,7 @@ gst_pad_get_internal_links_default (GstPad * pad)
no_parent:
{
GST_DEBUG_OBJECT (pad, "no parent");
GST_OBJECT_LOCK (pad);
GST_OBJECT_UNLOCK (pad);
return NULL;
}
}