mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
rtsp-server: added annotations to indicate type of ownership transfer of return values
https://bugzilla.gnome.org/show_bug.cgi?id=680777
This commit is contained in:
parent
9499be6232
commit
75598337a9
3 changed files with 7 additions and 7 deletions
|
@ -690,7 +690,7 @@ gst_rtsp_media_collect_streams (GstRTSPMedia * media)
|
|||
* Create a new stream in @media that provides RTP data on @srcpad.
|
||||
* @srcpad should be a pad of an element inside @media->element.
|
||||
*
|
||||
* Returns: a new #GstRTSPStream that remains valid for as long
|
||||
* Returns: (transfer none): a new #GstRTSPStream that remains valid for as long
|
||||
* as @media exists.
|
||||
*/
|
||||
GstRTSPStream *
|
||||
|
@ -747,7 +747,7 @@ gst_rtsp_media_n_streams (GstRTSPMedia * media)
|
|||
*
|
||||
* Retrieve the stream with index @idx from @media.
|
||||
*
|
||||
* Returns: the #GstRTSPStream at index @idx or %NULL when a stream with
|
||||
* Returns: (transfer none): the #GstRTSPStream at index @idx or %NULL when a stream with
|
||||
* that index did not exist.
|
||||
*/
|
||||
GstRTSPStream *
|
||||
|
|
|
@ -124,7 +124,7 @@ gst_rtsp_session_media_new (const GstRTSPUrl * url, GstRTSPMedia * media)
|
|||
*
|
||||
* Configure the transport for @stream to @tr in @media.
|
||||
*
|
||||
* Returns: the new or updated #GstRTSPStreamTransport for @stream.
|
||||
* Returns: (transfer none): the new or updated #GstRTSPStreamTransport for @stream.
|
||||
*/
|
||||
GstRTSPStreamTransport *
|
||||
gst_rtsp_session_media_set_transport (GstRTSPSessionMedia * media,
|
||||
|
@ -153,8 +153,8 @@ gst_rtsp_session_media_set_transport (GstRTSPSessionMedia * media,
|
|||
*
|
||||
* Get a previously created #GstRTSPStreamTransport for the stream at @idx.
|
||||
*
|
||||
* Returns: a #GstRTSPStreamTransport that is valid until the session of @media
|
||||
* is unreffed.
|
||||
* Returns: (transfer none): a #GstRTSPStreamTransport that is valid until the
|
||||
* session of @media is unreffed.
|
||||
*/
|
||||
GstRTSPStreamTransport *
|
||||
gst_rtsp_session_media_get_transport (GstRTSPSessionMedia * media, guint idx)
|
||||
|
|
|
@ -142,7 +142,7 @@ gst_rtsp_session_set_property (GObject * object, guint propid,
|
|||
*
|
||||
* Ownership is taken from @media.
|
||||
*
|
||||
* Returns: a new @GstRTSPSessionMedia object.
|
||||
* Returns: (transfer none): a new @GstRTSPSessionMedia object.
|
||||
*/
|
||||
GstRTSPSessionMedia *
|
||||
gst_rtsp_session_manage_media (GstRTSPSession * sess, const GstRTSPUrl * uri,
|
||||
|
@ -197,7 +197,7 @@ gst_rtsp_session_release_media (GstRTSPSession * sess,
|
|||
*
|
||||
* Get the session media of the @url.
|
||||
*
|
||||
* Returns: the configuration for @url in @sess.
|
||||
* Returns: (transfer none): the configuration for @url in @sess.
|
||||
*/
|
||||
GstRTSPSessionMedia *
|
||||
gst_rtsp_session_get_media (GstRTSPSession * sess, const GstRTSPUrl * url)
|
||||
|
|
Loading…
Reference in a new issue