uriplaylistbin: pass valid URI in tests

Fix critical raised by libsoup,
see https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/346

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1471>
This commit is contained in:
Guillaume Desmottes 2023-01-12 15:55:06 +01:00
parent 8a6bcb712f
commit 1e88971ec8

View file

@ -47,14 +47,14 @@ impl TestMedia {
fn missing_file() -> Self {
Self {
uri: "file:///not-there.ogg".to_string(),
uri: "file://not-there.ogg".to_string(),
len: 10.mseconds(),
}
}
fn missing_http() -> Self {
Self {
uri: "http:///not-there.ogg".to_string(),
uri: "http://not-there.ogg".to_string(),
len: 10.mseconds(),
}
}