stream: fix docs for recently-added get/set_buffer_size API

https://bugzilla.gnome.org/show_bug.cgi?id=749095
This commit is contained in:
Tim-Philipp Müller 2015-09-17 20:07:34 +01:00
parent 315c2f93bb
commit da8a31ac88
2 changed files with 11 additions and 5 deletions

View file

@ -564,6 +564,9 @@ gst_rtsp_stream_set_protocols
gst_rtsp_stream_get_retransmission_time gst_rtsp_stream_get_retransmission_time
gst_rtsp_stream_set_retransmission_time gst_rtsp_stream_set_retransmission_time
gst_rtsp_stream_set_buffer_size
gst_rtsp_stream_get_buffer_size
gst_rtsp_stream_set_seqnum_offset gst_rtsp_stream_set_seqnum_offset
gst_rtsp_stream_get_current_seqnum gst_rtsp_stream_get_current_seqnum

View file

@ -1461,13 +1461,14 @@ gst_rtsp_stream_get_retransmission_pt (GstRTSPStream * stream)
} }
/** /**
* gst_rtsp_media_get_buffer_size: * gst_rtsp_stream_set_buffer_size:
* @media: a #GstRTSPMedia * @stream: a #GstRTSPStream
* @size: a #guint * @size: the buffer size
* *
* Set the size of the UDP transmission buffer (in bytes) * Set the size of the UDP transmission buffer (in bytes)
* Needs to be set before the stream is joined to a bin. * Needs to be set before the stream is joined to a bin.
* *
* Since: 1.6
*/ */
void void
gst_rtsp_stream_set_buffer_size (GstRTSPStream * stream, guint size) gst_rtsp_stream_set_buffer_size (GstRTSPStream * stream, guint size)
@ -1478,12 +1479,14 @@ gst_rtsp_stream_set_buffer_size (GstRTSPStream * stream, guint size)
} }
/** /**
* gst_rtsp_media_get_buffer_size: * gst_rtsp_stream_get_buffer_size:
* @media: a #GstRTSPMedia * @stream: a #GstRTSPStream
* *
* Get the size of the UDP transmission buffer (in bytes) * Get the size of the UDP transmission buffer (in bytes)
* *
* Returns: the size of the UDP TX buffer * Returns: the size of the UDP TX buffer
*
* Since: 1.6
*/ */
guint guint
gst_rtsp_stream_get_buffer_size (GstRTSPStream * stream) gst_rtsp_stream_get_buffer_size (GstRTSPStream * stream)