mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
net: Update gir file
This commit is contained in:
parent
ba5684d0d7
commit
8b805fea15
1 changed files with 28 additions and 0 deletions
|
@ -859,6 +859,34 @@ parameters if it wasn't called before.</doc>
|
||||||
</parameter>
|
</parameter>
|
||||||
</parameters>
|
</parameters>
|
||||||
</function>
|
</function>
|
||||||
|
<function name="ptp_init_full" c:identifier="gst_ptp_init_full" version="1.24">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Initialize the GStreamer PTP subsystem and create a PTP ordinary clock in
|
||||||
|
slave-only mode according to the @config.
|
||||||
|
|
||||||
|
@config is a #GstStructure with the following optional fields:
|
||||||
|
* #guint64 `clock-id`: The clock ID to use for the local clock. If the
|
||||||
|
clock-id is not provided or %GST_PTP_CLOCK_ID_NONE is provided, a clock
|
||||||
|
id is automatically generated from the MAC address of the first network
|
||||||
|
interface.
|
||||||
|
* #GStrv `interfaces`: The interface names to listen on for PTP packets. If
|
||||||
|
none are provided then all compatible interfaces will be used.
|
||||||
|
* #guint `ttl`: The TTL to use for multicast packets sent out by GStreamer.
|
||||||
|
This defaults to 1, i.e. packets will not leave the local network.
|
||||||
|
|
||||||
|
This function is automatically called by gst_ptp_clock_new() with default
|
||||||
|
parameters if it wasn't called before.</doc>
|
||||||
|
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
|
||||||
|
<return-value transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">%TRUE if the GStreamer PTP clock subsystem could be initialized.</doc>
|
||||||
|
<type name="gboolean" c:type="gboolean"/>
|
||||||
|
</return-value>
|
||||||
|
<parameters>
|
||||||
|
<parameter name="config" transfer-ownership="none">
|
||||||
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Configuration for initializing the GStreamer PTP subsystem</doc>
|
||||||
|
<type name="Gst.Structure" c:type="const GstStructure*"/>
|
||||||
|
</parameter>
|
||||||
|
</parameters>
|
||||||
|
</function>
|
||||||
<function name="ptp_is_initialized" c:identifier="gst_ptp_is_initialized" version="1.6">
|
<function name="ptp_is_initialized" c:identifier="gst_ptp_is_initialized" version="1.6">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Check if the GStreamer PTP clock subsystem is initialized.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.c">Check if the GStreamer PTP clock subsystem is initialized.</doc>
|
||||||
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
|
<source-position filename="../subprojects/gstreamer/libs/gst/net/gstptpclock.h"/>
|
||||||
|
|
Loading…
Reference in a new issue