rtpbasedepayload: Make stats creation threadsafe, fix a CRITICAL
authorJan Schmidt <jan@centricular.com>
Sat, 15 Aug 2015 13:33:14 +0000 (23:33 +1000)
committerJan Schmidt <jan@centricular.com>
Sat, 15 Aug 2015 13:37:26 +0000 (23:37 +1000)
commit95eb6418215b49163b326d3d5bf89078b5cbe5c5
tree9c118533811ce0b8e7c2bbdc4325ac5aeb6c7c18
parentf188a023c78b9d0bf1684b912f0cc227ebc66298
rtpbasedepayload: Make stats creation threadsafe, fix a CRITICAL

Use the object lock to protect the internal segment when updating
against access from getting the stats property.

Fix a critical in gst-inspect or when retrieving the stats
before any segment has arrived by checking whether the
segment has been initted..
gst-libs/gst/rtp/gstrtpbasedepayload.c