forked from mirrors/gstreamer-rs
net: Fix compilation with gio API changes
This commit is contained in:
parent
a8ed2ac6e0
commit
3c705a3f3d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ mod tests {
|
|||
|
||||
let mut buffer = gst::Buffer::new();
|
||||
let port = 5000;
|
||||
let inet_addr = gio::InetAddress::from_string("127.0.0.1");
|
||||
let inet_addr = gio::InetAddress::from_string("127.0.0.1").unwrap();
|
||||
|
||||
let expected_addr = &gio::InetSocketAddress::new(&inet_addr, port);
|
||||
|
||||
|
|
Loading…
Reference in a new issue