trace: use proper locking in GstTrace
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 23 Jun 2009 11:44:50 +0000 (13:44 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 23 Jun 2009 11:46:28 +0000 (13:46 +0200)
commit3afa91d7aaf4f26b928185a71df4190cab285f28
tree8f77b97ab01716a418d644608147abf03ef30630
parent9993022fc4c2b51c04df333f06b5c024976dc304
trace: use proper locking in GstTrace

Protect the allocated list of objects with a lock so that trace actually works
reliably.
Shortcut the alloc trace sooner when disabled.
gst/gsttrace.c
gst/gsttrace.h
win32/common/libgstreamer.def