gstreamer-rs/gstreamer-net/src
François Laignel ffad1188b9 net: fix faillible PtpClock::new()
`PtpClock::new()` can fail in which case it panicked due to an assertion
failure. This commit makes it return a `Result` instead.

Also sets the `name` argument optional, similar to what is done for `NtpClock`.

See also: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6251

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1405>
2024-03-01 17:39:39 +01:00
..
auto net: fix faillible PtpClock::new() 2024-03-01 17:39:39 +01:00
lib.rs Remove dox feature and replace by docsrs configuration 2023-05-04 09:19:29 +03:00
net_address_meta.rs Inline various trivial functions 2023-01-11 11:33:54 +02:00
ptp_clock.rs net: Add new PtpClock::init_full() function 2023-11-16 20:53:08 +02:00