structure: add gst_structure_{id_}take_value()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 15 Sep 2010 22:42:43 +0000 (23:42 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 16 Sep 2010 18:39:58 +0000 (19:39 +0100)
commit7e5a9580ef2614111ba20e1c473df2fb02be1ef7
treedd4cb96b6eca7bbf89feeb901ef7ec900c11fa3c
parente6a291bfab1a4854ccb5c2587da2d0e750af8877
structure: add gst_structure_{id_}take_value()

Add _set_value() variants that take ownership of the value passed
instead of making a copy of the value. This is useful for setting
values to things that aren't refcounted (e.g. GValueArrays or
strings or string arrays, etc.).

API: gst_structure_take_value()
API: gst_structure_id_take_value()

https://bugzilla.gnome.org/show_bug.cgi?id=629831
docs/gst/gstreamer-sections.txt
gst/gststructure.c
gst/gststructure.h
win32/common/libgstreamer.def