GNOME Bugzilla – Bug 322751
gst_ghost_pad_get_target borks on pads without target
Last modified: 2005-11-29 13:11:33 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.
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.