[Bug 747990] bin/element: gst_bin_add() and gst_element_add_pad() don't take reference in error cases

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jul 12 18:57:43 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747990

--- Comment #10 from Vineeth <vineeth.tm at samsung.com> ---
Created attachment 307325
  --> https://bugzilla.gnome.org/attachment.cgi?id=307325&action=edit
object: remove floating reference of object

removing floating reference of the object when parent is already present for
the object.
By doing this here, each caller of this function need not remove the floating
reference when this function fails.
If this change is accepted, then the other two patches need to be changed such
that in case of had_parent, there is no need to remove floating point
references.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list