mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
multifdsink: Remove GValueArray from the doc
It's been a GstStructure for a long time. Also fix a typo in the name of one of the fields.
This commit is contained in:
parent
e4b7b10eed
commit
c1acb1c1fb
2 changed files with 13 additions and 9 deletions
|
@ -290,16 +290,20 @@ gst_multi_fd_sink_class_init (GstMultiFdSinkClass * klass)
|
|||
* @gstmultifdsink: the multifdsink element to emit this signal on
|
||||
* @fd: the file descriptor to get stats of from multifdsink
|
||||
*
|
||||
* Get statistics about @fd. This function returns a GValueArray to ease
|
||||
* Get statistics about @fd. This function returns a #GstStructure to ease
|
||||
* automatic wrapping for bindings.
|
||||
*
|
||||
* Returns: a GValueArray with the statistics. The array contains guint64
|
||||
* values that represent respectively: total number of bytes sent, time
|
||||
* when the client was added, time when the client was
|
||||
* disconnected/removed, time the client is/was active, last activity
|
||||
* time (in epoch seconds), number of buffers dropped.
|
||||
* All times are expressed in nanoseconds (GstClockTime).
|
||||
* The array can be 0-length if the client was not found.
|
||||
* Returns: a #GstStructure with the statistics. The structures
|
||||
* contains guint64 values that represent respectively: total
|
||||
* number of bytes sent (bytes-sent), time when the client was
|
||||
* added (connect-time), time when the client was
|
||||
* disconnected/removed (disconnect-time), time the client
|
||||
* is/was active (connect-duration), last activity time (in
|
||||
* epoch seconds) (last-activity-time), number of buffers
|
||||
* dropped (buffers-dropped), the timestamp of the first buffer
|
||||
* (first-buffer-ts) and of the last buffer (last-buffer-ts).
|
||||
* All times are expressed in nanoseconds (GstClockTime). The
|
||||
* structure can be empty if the client was not found.
|
||||
*/
|
||||
gst_multi_fd_sink_signals[SIGNAL_GET_STATS] =
|
||||
g_signal_new ("get-stats", G_TYPE_FROM_CLASS (klass),
|
||||
|
|
|
@ -897,7 +897,7 @@ gst_multi_handle_sink_get_stats (GstMultiHandleSink * sink,
|
|||
"connect-time", G_TYPE_UINT64, mhclient->connect_time,
|
||||
"disconnect-time", G_TYPE_UINT64, mhclient->disconnect_time,
|
||||
"connect-duration", G_TYPE_UINT64, interval,
|
||||
"last-activitity-time", G_TYPE_UINT64, mhclient->last_activity_time,
|
||||
"last-activity-time", G_TYPE_UINT64, mhclient->last_activity_time,
|
||||
"buffers-dropped", G_TYPE_UINT64, mhclient->dropped_buffers,
|
||||
"first-buffer-ts", G_TYPE_UINT64, mhclient->first_buffer_ts,
|
||||
"last-buffer-ts", G_TYPE_UINT64, mhclient->last_buffer_ts, NULL);
|
||||
|
|
Loading…
Reference in a new issue