webrtc: Explicitly initialise mutex and condition
authorJan Schmidt <jan@centricular.com>
Sun, 1 Jul 2018 00:44:45 +0000 (10:44 +1000)
committerJan Schmidt <jan@centricular.com>
Sun, 1 Jul 2018 00:44:45 +0000 (10:44 +1000)
commit27b28f3aec4c6bd9869c505bca5df5e7007a20b7
tree45c6faa0d684d6d12c56fb76c54fe1d09557aa62
parent0fca02bb5e538f508e916e5a560366b2c0e2df82
webrtc: Explicitly initialise mutex and condition

Fixes random crashes when an allocated webrtcbin isn't
given fresh 0-filled memory in its allocation. It works
mostly because GMutex and GCond are automatically initialised
in that case.
ext/webrtc/gstwebrtcbin.c