uridecodebin3: Avoid repeatedly calling the blocking probe
authorEdward Hervey <edward@centricular.com>
Thu, 29 Dec 2022 15:01:07 +0000 (16:01 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 30 Dec 2022 07:46:13 +0000 (08:46 +0100)
commit80e7c3151482f860e03345843c371442491a36c1
treef9226a1f5358494184bd7f09be5f392ed82a23ed
parenta0655d513117a2fa93dfc3dd925791058af94e45
uridecodebin3: Avoid repeatedly calling the blocking probe

When skipping an event, we want to unref it and say we handled it. This avoids
being repeatedly called for the same (sticky) events.

The events will be properly propagated once the pad is linked.

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