urisourcebin: Streamline event forwarding code
authorEdward Hervey <edward@centricular.com>
Thu, 3 Oct 2024 15:16:08 +0000 (17:16 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 18 Oct 2024 10:13:13 +0000 (10:13 +0000)
commit15b8a05d1a4271309942d289998f7c5f3e7712fa
treeb80f64c32f0cc2666eeeea1c792ac223e8a8917a
parentcb00dd3ba6b03cab0e18b8e599a68a7e41790344
urisourcebin: Streamline event forwarding code

Instead of two different functions for copying events and rewriting the
stream-start event, just have a single one.

This is needed, since we want to do both of those in one go, with the pad lock
taken.

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