mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-01 09:13:48 +00:00
threadshare: Update to getifaddrs 0.5
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2503>
This commit is contained in:
parent
6f40cb0430
commit
ec4f00fa05
3 changed files with 8 additions and 7 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -2462,9 +2462,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "getifaddrs"
|
||||
version = "0.2.0"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b1c016cebf305060d144de015c98191ede05c210af588857bc2d4f8611c04663"
|
||||
checksum = "b7b2d14d6cb5b573aaeb37d2f9baac2623f8b7de35742046fb4cc1c7b90c97d2"
|
||||
dependencies = [
|
||||
"bitflags 2.9.1",
|
||||
"libc",
|
||||
|
|
|
@ -30,7 +30,7 @@ slab = "0.4.7"
|
|||
socket2 = {features = ["all"], version = "0.6"}
|
||||
thiserror = "2"
|
||||
waker-fn = "1.1"
|
||||
getifaddrs = "0.2"
|
||||
getifaddrs = "0.5"
|
||||
libc = "0.2"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
|
|
|
@ -429,10 +429,11 @@ impl TaskImpl for UdpSrcTask {
|
|||
name: "default".to_owned(),
|
||||
#[cfg(windows)]
|
||||
description: "default".to_owned(),
|
||||
address: IpAddr::V4(Ipv4Addr::UNSPECIFIED),
|
||||
#[cfg(not(windows))]
|
||||
associated_address: None,
|
||||
netmask: None,
|
||||
address: getifaddrs::Address::V4(getifaddrs::NetworkAddress {
|
||||
address: Ipv4Addr::UNSPECIFIED,
|
||||
netmask: None,
|
||||
associated_address: None,
|
||||
}),
|
||||
flags: getifaddrs::InterfaceFlags::UP,
|
||||
index: Some(0),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue