webrtc: correctly use the pad template
authorMatthew Waters <matthew@centricular.com>
Tue, 5 May 2020 07:14:46 +0000 (17:14 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 6 May 2020 02:53:27 +0000 (02:53 +0000)
commitd552c6556ccc61a56beeec89a631ecc26362c926
treea2ae63b863508d92bb91974346da3bbaf867512a
parent46176fbcc72a38136be8cf4fcf1cb4dce57375fb
webrtc: correctly use the pad template

GstHarness uses this for releasing request pads correctly. Fixes
numerous leaks in the webrtc unit tests.

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