After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 301331 - gst_element_unlink only unlinks real pads
gst_element_unlink only unlinks real pads
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.9
Other All
: Normal normal
: 0.8.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-20 13:39 UTC by Wouter Paesen
Modified: 2005-04-22 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
removes the GST_PAD_IS_REAL check (451 bytes, patch)
2005-04-20 13:46 UTC, Wouter Paesen
none Details | Review
removes the GST_IS_REAL_PAD check (451 bytes, patch)
2005-04-22 09:16 UTC, Wouter Paesen
none Details | Review

Description Wouter Paesen 2005-04-20 13:39:57 UTC
Please describe the problem:
the gst_element_unlink function only unlinks real pads.  This caused unsuspected
behaviour when the first parameter of this functions is e.g. a GstBin with a
ghost pad.


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Removing the GST_IS_REAL_PAD check in the function solves the problem for me. 
Imho this can not cause problems because gst_pad_unlink realizes the pad internally.
Comment 1 Wouter Paesen 2005-04-20 13:46:55 UTC
Created attachment 45484 [details] [review]
removes the GST_PAD_IS_REAL check
Comment 2 Wouter Paesen 2005-04-22 09:16:36 UTC
Created attachment 45538 [details] [review]
removes the GST_IS_REAL_PAD check 

Previous patch was inverted
Comment 3 Ronald Bultje 2005-04-22 15:07:41 UTC
Applied, thanks.