webrtc receivebin: Only set queue to leaky when the pad is blocked
authorOlivier Crête <olivier.crete@collabora.com>
Sat, 26 Jun 2021 18:31:01 +0000 (14:31 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 29 Jun 2021 04:42:20 +0000 (00:42 -0400)
commit543fcb93a45d967cf567cb39f1390f4eb697ed8d
tree07e502be110a7eb0d2c6fce7d2a1d17fca74be57
parenta07e52528c7e56113e980d34f0639dbee86f4dd0
webrtc receivebin: Only set queue to leaky when the pad is blocked

When the pad is no longer blocked, remove the leakyness to make sure
everything gets into the jitterbuffer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2363>
ext/webrtc/transportreceivebin.c
ext/webrtc/transportreceivebin.h