From c4eb876961aba1092c4831a8feaf48d7be1e38ae Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Sat, 13 Jun 2015 14:21:41 -0400 Subject: [PATCH] doc: Add GstNtpPacket to the doc --- docs/libs/gstreamer-libs-docs.sgml | 1 + docs/libs/gstreamer-libs-sections.txt | 18 +++++++++++++++++- libs/gst/net/gstntppacket.c | 3 ++- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/libs/gstreamer-libs-docs.sgml b/docs/libs/gstreamer-libs-docs.sgml index 406d606..675c8a9 100644 --- a/docs/libs/gstreamer-libs-docs.sgml +++ b/docs/libs/gstreamer-libs-docs.sgml @@ -77,6 +77,7 @@ + diff --git a/docs/libs/gstreamer-libs-sections.txt b/docs/libs/gstreamer-libs-sections.txt index 5e8357d..f31f2e3 100644 --- a/docs/libs/gstreamer-libs-sections.txt +++ b/docs/libs/gstreamer-libs-sections.txt @@ -954,6 +954,22 @@ gst_net_time_provider_get_type
+gstntppacket +GstNtpPacket +GstNtpPacket +gst_ntp_packet_new +gst_ntp_packet_copy +gst_ntp_packet_free +gst_ntp_packet_serialize +gst_ntp_packet_receive +gst_ntp_packet_send +GST_NTP_ERROR +GST_NTP_PACKET_SIZE + +gst_ntp_packet_get_type +
+ +
gstptpclock GstPtpClock gst/net/net.h @@ -962,7 +978,7 @@ gst_ptp_deinit gst_ptp_is_initialized gst_ptp_is_supported -GstPtpClock +/GstPtpClock gst_ptp_clock_new gst_ptp_statistics_callback_add diff --git a/libs/gst/net/gstntppacket.c b/libs/gst/net/gstntppacket.c index 699f72b..e9d77b0 100644 --- a/libs/gst/net/gstntppacket.c +++ b/libs/gst/net/gstntppacket.c @@ -23,7 +23,7 @@ * SECTION:gstntppacket * @short_description: Helper structure to construct clock packets used * by network clocks for NTPv4. - * @see_also: #GstClock, #GstNetClientClock, #GstNtpProvider + * @see_also: #GstClock, #GstNetClientClock, #GstNtpClock * * Various functions for receiving, sending an serializing #GstNtpPacket * structures. @@ -79,6 +79,7 @@ gst_clock_time_to_ntp_timestamp_fraction (GstClockTime gst) /** * gst_ntp_packet_new: * @buffer: (array): a buffer from which to construct the packet, or NULL + * @error: a #GError * * Creates a new #GstNtpPacket from a buffer received over the network. The * caller is responsible for ensuring that @buffer is at least -- 2.7.4