uridecodebin3: Handle state synchronization failures
authorEdward Hervey <edward@centricular.com>
Fri, 13 Jan 2023 15:34:45 +0000 (16:34 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 13 Jan 2023 15:41:53 +0000 (16:41 +0100)
commitf444e62672a626fcbf740833d09628d7b1aac482
tree9a0eab0739616c6931b8bd8ac2313bb1d5b56e05
parentc5939300552919d854462739ca555c5f37697a21
uridecodebin3: Handle state synchronization failures

Properly reset and remove the failing urisourcebin if we failed bringing them up
to the same state as ourselves.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1708

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