[Bug 666357] New: Don't claim gst_bin_add, gst_bin_add_many and gst_element_add_pad transfer ownership

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 16 04:26:51 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=666357
  GStreamer | documentation | 0.10.x

           Summary: Don't claim gst_bin_add, gst_bin_add_many and
                    gst_element_add_pad transfer ownership
    Classification: Platform
           Product: GStreamer
           Version: 0.10.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: documentation
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mail at jensge.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


They only do if the reference on the GstMiniOobject is floating, but increase
the refcount if it isn't.

The behavior is similar to gtk_container_add, but that doesn't claim to
transfer ownership. The Vala bindings that are based on this annotation are
causing a reference leak since Vala always sinks the reference.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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