webrtcbin: fix check_negotiation computing on caps event
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 26 Oct 2021 22:20:57 +0000 (00:20 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 28 Oct 2021 19:05:59 +0000 (19:05 +0000)
commit303c8025c621c5616ff2173f95eef41feb86c397
tree535385bda68d455e572e037479580c4f092c2f3d
parentbe0b5c54fd3fe09a9d70f22d99fab095c9f76089
webrtcbin: fix check_negotiation computing on caps event

It seems logical that check_negotiation be true if received_caps
is *not* equal to the new caps.

Also clean up handling of transceivers' ssrc events, as this
patch triggered a leaky code path.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1233>
subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c
subprojects/gst-plugins-bad/ext/webrtc/webrtctransceiver.c