concat: fix qos event handling
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>
Wed, 20 Oct 2021 09:20:13 +0000 (11:20 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 20 Oct 2021 13:39:03 +0000 (13:39 +0000)
commit3ef2cacdd45a7d3f57e234901ecdcd3832a84cc6
tree1a5bc8931d2579a1b55611be440a6f302e510ee6
parentf0de5a39c1a739f8d8598eaac0d1b6c635c9555e
concat: fix qos event handling

We were shadowing the sinkpad variable resulting in:
- the QoS event to be send to all sink pads instead of the active one
- the pad to be leaked

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1208>
subprojects/gstreamer/plugins/elements/gstconcat.c