mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-06-08 00:18:56 +00:00
file: Don't use Url::into_string() anymore but the generic Into trait
The former is deprecated now.
This commit is contained in:
parent
ee0b2e79da
commit
97b6a9099f
2 changed files with 2 additions and 2 deletions
|
@ -303,7 +303,7 @@ impl URIHandlerImpl for FileSink {
|
||||||
settings.location.as_ref().map(|location| {
|
settings.location.as_ref().map(|location| {
|
||||||
Url::from_file_path(location)
|
Url::from_file_path(location)
|
||||||
.expect("FileSink::get_uri couldn't build `Url` from `location`")
|
.expect("FileSink::get_uri couldn't build `Url` from `location`")
|
||||||
.into_string()
|
.into()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -356,7 +356,7 @@ impl URIHandlerImpl for FileSrc {
|
||||||
settings.location.as_ref().map(|location| {
|
settings.location.as_ref().map(|location| {
|
||||||
Url::from_file_path(location)
|
Url::from_file_path(location)
|
||||||
.expect("FileSrc::get_uri couldn't build `Url` from `location`")
|
.expect("FileSrc::get_uri couldn't build `Url` from `location`")
|
||||||
.into_string()
|
.into()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue