miniobject: make refcount tracing and debug logging reliable
authorTim-Philipp Müller <tim@centricular.com>
Mon, 3 Jul 2017 08:03:24 +0000 (09:03 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 5 Jul 2017 12:15:22 +0000 (13:15 +0100)
commitcce18426f756c0a17410020b0e5db06e7546257c
treef9408b4352a3e6a42ac60c7e064620358b97ab96
parentf29082bfe1feb3e89e5f52bbd26d081fb7382a6b
miniobject: make refcount tracing and debug logging reliable

Tracing of the refcounts wasn't thread-safe, and log output of
the refcount values before/after wasn't reliable.

https://bugzilla.gnome.org/show_bug.cgi?id=784383
gst/gstminiobject.c