rtpsink: Return proper pad from _request_new_pad
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Fri, 7 May 2021 09:13:46 +0000 (11:13 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 7 May 2021 12:07:05 +0000 (12:07 +0000)
commit88d7141ba404bf00d4c720fc66774be24e50b93e
tree7385afd8a0b9c29728a7f11d036639f27b80f619
parentddac6ab91d22c7b7b4be6992ab0c09ae13d8b824
rtpsink: Return proper pad from _request_new_pad

Bizarrely, it returned a pad from the child rtpbin. I noticed because
our application leaked the implicitly created ghost pad. Make an
explicit ghost pad so this works properly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2227>
gst/rtp/gstrtpsink.c