adaptivedemux2: fix critical when using an unsupported URI
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>
Tue, 11 Apr 2023 15:54:23 +0000 (17:54 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 14 Apr 2023 05:17:16 +0000 (05:17 +0000)
commita921e40228a2190715b6ba2b1fb4a4b6deb7ede9
tree9c2c26a18cc44a90eb77b492377068d0e25e8c19
parentf4aeac45e52b7ef651e770f944c4f4b333965807
adaptivedemux2: fix critical when using an unsupported URI

adaptivedemux2 only supports http(s), trying to use it with, say,
file:// was raising a CRITICAL in libsoup.

Fix #2476

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