tracerrecord: don't leak the spec structures
authorStefan Sauer <ensonic@users.sf.net>
Thu, 21 Jan 2016 07:12:01 +0000 (08:12 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 22 Jan 2016 09:07:26 +0000 (10:07 +0100)
commitec75b68984d5ae57722791ea97d292b862e149cd
tree6dde9b3959b08458a8d9ec6dc5f9a460aa6bcbf4
parent05a96555233649eb132c366ae54ee330d267ddd9
tracerrecord: don't leak the spec structures

Change the gst_tracer_record_new() api to take the parameters the make the
spec structure directly. This allows us to own the top-level structure and
also collect the args so that we can take ownership of the sub-structures.

https://bugzilla.gnome.org/show_bug.cgi?id=760821
gst/gsttracerrecord.c
gst/gsttracerrecord.h
plugins/tracers/gstlatency.c
plugins/tracers/gstrusage.c
plugins/tracers/gststats.c
tests/check/gst/gsttracerrecord.c