rtpsession: Take session lock when creating stats
authorMiguel París Díaz <mparisdiaz@gmail.com>
Thu, 5 May 2016 12:18:21 +0000 (14:18 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 6 May 2016 06:24:22 +0000 (09:24 +0300)
commit2e960e70750a0cb7e1117d0c09d08597866a29ee
treeaa10c78f6282d3648ffe559e1d4c517c23247204
parentc70ed4c914d7e1896c467873edeb7309541dff66
rtpsession: Take session lock when creating stats

The access to the session hash table must happen while the session lock is
taken, otherwise another thread might modify the hash table while we're
creating the stats.

https://bugzilla.gnome.org/show_bug.cgi?id=766025
gst/rtpmanager/rtpsession.c