adaptivedemux2: Fix sticky event storage.
authorJan Schmidt <jan@centricular.com>
Tue, 15 Nov 2022 10:42:34 +0000 (21:42 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 21 Nov 2022 10:32:02 +0000 (10:32 +0000)
commit8b08305ef9a1d94f527577b436e29d47035115ad
treeec0524e4a65cd6bf947a75801123e970827dcdfd
parentbdaa8f83aad34e8312fd52ff7b2a8169c89b2b1e
adaptivedemux2: Fix sticky event storage.

Use the new gst_event_type_to_sticky_ordering() method to retrieve
the order that sticky events should be sent / stored in, instead
of assuming it's the event type value.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3387>
subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemuxutils.c