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 322751 - gst_ghost_pad_get_target borks on pads without target
gst_ghost_pad_get_target borks on pads without target
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.9.6
Other Linux
: Normal normal
: 0.9.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-29 13:05 UTC by Michael Dominic K.
Modified: 2005-11-29 13:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Dominic K. 2005-11-29 13:05:17 UTC
When performing gst_ghost_pad_get_target on a pad that doesn't have a target
yet, you get:
GStreamer-CRITICAL **: gst_object_ref: assertion `GST_IS_OBJECT (object)' failed

Also, the documentation says: "Get the target pad of gpad. Unref after usage."
It's rather unclear what should be done after usage.
Comment 1 Tim-Philipp Müller 2005-11-29 13:11:33 UTC
Fixed in CVS.

2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/gstghostpad.c: (gst_proxy_pad_get_target):
          Don't ref NULL target pad (#322751). Improve docs.