gstpad: Fix non-serialized sticky event push
authorEdward Hervey <edward@centricular.com>
Mon, 24 Oct 2022 10:13:14 +0000 (12:13 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 4 Nov 2022 14:20:36 +0000 (14:20 +0000)
commit730ed3a69a9ff049d8c43a0f58e1e15fb43ba465
treea67beb701f461d24053121d5ee91249313300e14
parent424b331afc1c5a355391da6705a2e696280507f3
gstpad: Fix non-serialized sticky event push

With non-serialized sticky events, such as GST_EVENT_INSTANT_RATE, we both want
to store the event (for later re-linking) *AND* push the event in a non-blocking
way.

We therefore must *not* propagate pending sticky events if the event is "sticky
or serialized" but only if it's "serialized"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3254>
subprojects/gstreamer/gst/gstpad.c