fraction/array: Make get_type() thread safe
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 22 Mar 2017 17:33:47 +0000 (13:33 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 24 Mar 2017 17:30:45 +0000 (13:30 -0400)
commitd486074a9c6d0215586582c31f5223313797668f
tree7d2b97c13f22594b865add775ab076bccc6eb710
parent2c056563bf0b82e52cc38629accf7fe7d855a73c
fraction/array: Make get_type() thread safe

Those aren't suppose to be called from multiple thread, but all
fundamental get_type() function are thread safe. Fix it to
be consistent and it may help if we change the typing mechanism
in GStreamer come day.
gst/gstparamspecs.c