mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-25 16:38:20 +00:00
message: DeviceAdded/Removed getters are transfer full
This commit is contained in:
parent
8aad3e4dbb
commit
54705f959a
1 changed files with 2 additions and 2 deletions
|
@ -1024,7 +1024,7 @@ impl<'a> DeviceAdded<'a> {
|
||||||
|
|
||||||
gst_sys::gst_message_parse_device_added(self.as_mut_ptr(), &mut device);
|
gst_sys::gst_message_parse_device_added(self.as_mut_ptr(), &mut device);
|
||||||
|
|
||||||
from_glib_none(device)
|
from_glib_full(device)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1037,7 +1037,7 @@ impl<'a> DeviceRemoved<'a> {
|
||||||
|
|
||||||
gst_sys::gst_message_parse_device_removed(self.as_mut_ptr(), &mut device);
|
gst_sys::gst_message_parse_device_removed(self.as_mut_ptr(), &mut device);
|
||||||
|
|
||||||
from_glib_none(device)
|
from_glib_full(device)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue