[gstreamer-bugs] [Bug 629831] New: [API] add gst_structure_take_value() and gst_structure_id_take_value()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 16 02:56:22 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=629831
  GStreamer | gstreamer (core) | git

           Summary: [API] add gst_structure_take_value() and
                    gst_structure_id_take_value()
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=170404)
 View: https://bugzilla.gnome.org/attachment.cgi?id=170404
 Review: https://bugzilla.gnome.org/review?bug=629831&attachment=170404

structure: add gst_structure_{id_}take_value()

I propose to add some API to GstStructure that takes ownership of the GValue
passed to it instead of copying it.

This is useful for setting structure fields to types that aren't refcounted and
where a full copy will always be done otherwise (e.g. GValueArray, strings,
string arrays etc.).

-- 
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