Use gst_object_unref() / gst_object_clear() instead of the GObject ones
authorSebastian Dröge <sebastian@centricular.com>
Mon, 20 Apr 2020 13:21:10 +0000 (16:21 +0300)
committerSebastian Dröge <slomo@coaxion.net>
Mon, 20 Apr 2020 16:28:52 +0000 (16:28 +0000)
commited1022fa81889bfa651d219056fc5173deb8332d
tree7d7df3be922559bbaf785b686abce6c3093db808
parentc8bcb9db18fc115a0d656ce2bce9b891194192dc
Use gst_object_unref() / gst_object_clear() instead of the GObject ones

To allow the refcounting tracer to work better. In childproxy/iterator
these might be plain GObjects but gst_object_unref() also works on them.
In other places where it is never GstObject, g_object_unref() is kept.
25 files changed:
docs/gst-hotdoc-plugins-scanner.c
gst/gstbin.c
gst/gstchildproxy.c
gst/gstiterator.c
gst/gstpad.c
gst/gstpreset.c
gst/gstregistrychunks.c
gst/gstsystemclock.c
gst/parse/grammar.y.in
libs/gst/base/gstcollectpads.c
tests/benchmarks/complexity.c
tests/benchmarks/mass-elements.c
tests/check/elements/tee.c
tests/check/gst/gstelement.c
tests/check/gst/gstelementfactory.c
tests/check/gst/gstobject.c
tests/check/gst/gstparamspecs.c
tests/check/gst/gstsystemclock.c
tests/check/gst/gsttagsetter.c
tests/check/gst/gsttocsetter.c
tests/check/gst/gsttracerrecord.c
tests/check/pipelines/parse-launch.c
tests/examples/helloworld/helloworld.c
tests/examples/netclock/netclock-client.c
tests/examples/streamiddemux/streamiddemux-stream.c