webrtcbin: Clear errors from finding codec preferences before the next iteration
authorSebastian Dröge <sebastian@centricular.com>
Thu, 4 Nov 2021 10:48:28 +0000 (12:48 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 4 Nov 2021 10:51:15 +0000 (10:51 +0000)
commitf9a97efbe1a577d2b91f9aae7bca4bdd08a3656a
treee8ebd8481245c64d202bcf337a411d5065367c55
parent30153f159114e15f829e6f34c3260023deb0106b
webrtcbin: Clear errors from finding codec preferences before the next iteration

The media is just skipped and the error is not propagated to the caller,
so keeping it around here would cause assertions a bit later when trying
to set a new error over the old one.

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