uridecodebin3/urisourcebin: Reusability fixes
authorJan Schmidt <jan@centricular.com>
Fri, 8 Oct 2021 18:39:38 +0000 (05:39 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 10 Oct 2021 11:55:19 +0000 (11:55 +0000)
commit71c3141672b7d4e4d09641e4eb8a65238e955c41
treecabcb280f90fba8b92b07e4605d36d1b1a1606fe
parente06ac494b8d0f03437dcfdd6cdfba0c68e229c95
uridecodebin3/urisourcebin: Reusability fixes

Improvements to uridecodebin3 and urisourcebin so that they are
reusable across a PAUSED->READY->PAUSED transition.

Disconnect and release decodebin3 request pads when urisourcebin
removes src pads.

In urisourcebin, make sure to remove src pads that are exposed
directly (raw pads and static typefind srcpads) when
cleaning up.

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

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