mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/gstelement.c: Don't crash printing the warning if the pad has no parent.
Original commit message from CVS: * gst/gstelement.c: (gst_element_remove_pad): Don't crash printing the warning if the pad has no parent.
This commit is contained in:
parent
319e774f55
commit
2d28c5226b
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gstelement.c: (gst_element_remove_pad):
|
||||
Don't crash printing the warning if the pad has no parent.
|
||||
|
||||
2006-08-02 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* libs/gst/dataprotocol/dataprotocol.c:
|
||||
|
|
|
@ -746,8 +746,7 @@ not_our_pad:
|
|||
/* FIXME, locking order? */
|
||||
GST_OBJECT_LOCK (element);
|
||||
g_critical ("Padname %s:%s does not belong to element %s when removing",
|
||||
GST_ELEMENT_NAME (GST_PAD_PARENT (pad)), GST_PAD_NAME (pad),
|
||||
GST_ELEMENT_NAME (element));
|
||||
GST_DEBUG_PAD_NAME (pad), GST_ELEMENT_NAME (element));
|
||||
GST_OBJECT_UNLOCK (element);
|
||||
GST_OBJECT_UNLOCK (pad);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue