urisourcebin: Cleanup on failure
authorEdward Hervey <edward@centricular.com>
Fri, 13 Jan 2023 15:39:51 +0000 (16:39 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 13 Jan 2023 15:41:53 +0000 (16:41 +0100)
commit13ad8c8e4e2101c5a50c9e9232187b3ebf29f04d
treec7665887a34c6cb8757943908cb9b4bb8f9b31b2
parent1546ab0d0f6740708a868b59c301e543e16dcce5
urisourcebin: Cleanup on failure

This ensures there is a source present/valid *ONLY* in PAUSED and above.

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