mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-03 02:03:48 +00:00
ts: fix kqueue reactor
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2288>
This commit is contained in:
parent
d156d8950f
commit
69ff3ae6c7
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ impl Registration {
|
||||||
///
|
///
|
||||||
/// The provided file descriptor must be valid and not be closed while this object is alive.
|
/// The provided file descriptor must be valid and not be closed while this object is alive.
|
||||||
pub(crate) unsafe fn new(f: BorrowedFd<'_>) -> Self {
|
pub(crate) unsafe fn new(f: BorrowedFd<'_>) -> Self {
|
||||||
Self::Fd(f.as_raw_fd())
|
Self { raw: f.as_raw_fd() }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Registers the object into the reactor.
|
/// Registers the object into the reactor.
|
||||||
|
|
Loading…
Reference in a new issue