urisourcebin: Simplify initial information collection
authorEdward Hervey <edward@centricular.com>
Tue, 25 Oct 2022 15:13:21 +0000 (17:13 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Nov 2022 14:01:46 +0000 (14:01 +0000)
commite7eb9271ee2216bac67a4241703941c8c37423d4
treeb94e9afbb2e1b97e7aee769c3e298140822bdba4
parent80770fe0ec975ca22fb454c621c975a50f6f0bf9
urisourcebin: Simplify initial information collection

When iterating existing pads of a source, directly handle them:
* Raw pads are handled directly
* Pads without caps are connected to a typefind
* Other pads are handled via `handle_new_pad()`

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c