meta: do metadata registration threadsafe
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 3 Oct 2012 11:45:22 +0000 (13:45 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 3 Oct 2012 11:45:22 +0000 (13:45 +0200)
commited19974e25a6bf318a3ef2c3c86afe2369f56def
treedb91eefd9969ba6895ef9bf8a6e90ef01c888eba
parent10c85869026268949ee9ad52e7c2009ce6d6c4b3
meta: do metadata registration threadsafe

We need to use g_once to register the metadata implementations
only once.

See https://bugzilla.gnome.org/show_bug.cgi?id=685332
docs/pwg/advanced-allocation.xml
libs/gst/net/gstnetaddressmeta.c
tests/check/gst/gstmeta.c