urisourcebin: Fix parsebin handling
authorEdward Hervey <edward@centricular.com>
Fri, 30 Dec 2022 07:44:35 +0000 (08:44 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 30 Dec 2022 07:46:14 +0000 (08:46 +0100)
commit6beca9f055c1aed2709fdbcedb9b0f95a7aba38e
treeb485c9abac6059848d5cfdb58a0df5e6a1246504
parent66b96baf231d5d6c84a9307d328a8cc936f281fe
urisourcebin: Fix parsebin handling

The goal of !3601 was to make sure we don't end up with non-streams-aware
adaptive demuxers. Since we know that parsebin is streams-aware, just remember
that and handle them that way.

Fixes issues with some scenarios where parsebin might add pads *before* the
collection is posted on the bus

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1675

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