mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/gstelement.c: Allow unlinking ghostpads using gst_element_unlink(), which fixes #301331.
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/gstelement.c: (gst_element_unlink): Allow unlinking ghostpads using gst_element_unlink(), which fixes #301331.
This commit is contained in:
parent
970c2f3ff6
commit
20e6e96160
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-04-22 Wouter Paesen <wouter@kangaroot.net>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/gstelement.c: (gst_element_unlink):
|
||||
Allow unlinking ghostpads using gst_element_unlink(), which
|
||||
fixes #301331.
|
||||
|
||||
2005-04-22 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/elements/gsttypefindelement.c:
|
||||
|
|
|
@ -2231,7 +2231,7 @@ gst_element_unlink (GstElement * src, GstElement * dest)
|
|||
pad = GST_PAD (srcpads->data);
|
||||
|
||||
/* we only care about real src pads */
|
||||
if (GST_IS_REAL_PAD (pad) && GST_PAD_IS_SRC (pad)) {
|
||||
if (GST_PAD_IS_SRC (pad)) {
|
||||
GstPad *peerpad = GST_PAD_PEER (pad);
|
||||
|
||||
/* see if the pad is connected and is really a pad
|
||||
|
|
Loading…
Reference in a new issue