urisourcebin: Propagate sticky events from parsebin
authorEdward Hervey <edward@centricular.com>
Fri, 17 Mar 2023 08:58:55 +0000 (09:58 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 18 Mar 2023 06:47:21 +0000 (06:47 +0000)
commit611fc0083390d579a0f88d9b85b44e7524e53b20
treeaf21d3a5440977a51f0e09186343cad7dfbbe8b7
parentd884c8f5a14beead222add66675fade034663864
urisourcebin: Propagate sticky events from parsebin

If sticky events are present on parsebin source pads, we propagate them to the
multiqueue source pads. Those will be propagated on the new urisourcebin source
pads like in the other code paths.

This ensures that STREAM_START event are present on new source pads. If CAPS
event are also present (not guaranteed), they will also be available.

Fixes #2384

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