mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
docs: Enable and fix gtk-doc warnings
* Makefile: Enable gtk-doc warnings, like the rest of GStreamer * addresspool/mediafactory: Add missing annotation colon * stream: Annotate return value Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725528
This commit is contained in:
parent
36970455f8
commit
81a2928c89
4 changed files with 7 additions and 6 deletions
|
@ -75,6 +75,7 @@ GstRtspServer-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtspserver-@
|
||||||
$(INTROSPECTION_SCANNER) -v --namespace GstRtspServer \
|
$(INTROSPECTION_SCANNER) -v --namespace GstRtspServer \
|
||||||
--nsversion=@GST_API_VERSION@ \
|
--nsversion=@GST_API_VERSION@ \
|
||||||
--strip-prefix=Gst \
|
--strip-prefix=Gst \
|
||||||
|
--warn-all \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
-DIN_GOBJECT_INTROSPECTION=1 \
|
-DIN_GOBJECT_INTROSPECTION=1 \
|
||||||
|
|
|
@ -625,7 +625,7 @@ find_address_in_ranges (GList * addresses, Addr * addr, guint port,
|
||||||
* @port: The first port to reserve
|
* @port: The first port to reserve
|
||||||
* @n_ports: The number of ports
|
* @n_ports: The number of ports
|
||||||
* @ttl: The requested ttl
|
* @ttl: The requested ttl
|
||||||
* @address: (out) storage for a #GstRTSPAddress
|
* @address: (out): storage for a #GstRTSPAddress
|
||||||
*
|
*
|
||||||
* Take a specific address and ports from @pool. @n_ports consecutive
|
* Take a specific address and ports from @pool. @n_ports consecutive
|
||||||
* ports will be allocated of which the first one can be found in
|
* ports will be allocated of which the first one can be found in
|
||||||
|
|
|
@ -1053,7 +1053,7 @@ default_configure (GstRTSPMediaFactory * factory, GstRTSPMedia * media)
|
||||||
* implementation of this function returns the bin created from the
|
* implementation of this function returns the bin created from the
|
||||||
* launch parameter.
|
* launch parameter.
|
||||||
*
|
*
|
||||||
* Returns: (transfer floating) a new #GstElement.
|
* Returns: (transfer floating): a new #GstElement.
|
||||||
*/
|
*/
|
||||||
GstElement *
|
GstElement *
|
||||||
gst_rtsp_media_factory_create_element (GstRTSPMediaFactory * factory,
|
gst_rtsp_media_factory_create_element (GstRTSPMediaFactory * factory,
|
||||||
|
|
|
@ -2186,8 +2186,8 @@ gst_rtsp_stream_remove_transport (GstRTSPStream * stream,
|
||||||
*
|
*
|
||||||
* @stream must be joined to a bin.
|
* @stream must be joined to a bin.
|
||||||
*
|
*
|
||||||
* Returns: the RTP socket or %NULL if no socket could be allocated for @family.
|
* Returns: (transfer full): the RTP socket or %NULL if no socket could be
|
||||||
* Unref after usage
|
* allocated for @family. Unref after usage
|
||||||
*/
|
*/
|
||||||
GSocket *
|
GSocket *
|
||||||
gst_rtsp_stream_get_rtp_socket (GstRTSPStream * stream, GSocketFamily family)
|
gst_rtsp_stream_get_rtp_socket (GstRTSPStream * stream, GSocketFamily family)
|
||||||
|
@ -2220,8 +2220,8 @@ gst_rtsp_stream_get_rtp_socket (GstRTSPStream * stream, GSocketFamily family)
|
||||||
*
|
*
|
||||||
* @stream must be joined to a bin.
|
* @stream must be joined to a bin.
|
||||||
*
|
*
|
||||||
* Returns: the RTCP socket or %NULL if no socket could be allocated for
|
* Returns: (transfer full): the RTCP socket or %NULL if no socket could be
|
||||||
* @family. Unref after usage
|
* allocated for @family. Unref after usage
|
||||||
*/
|
*/
|
||||||
GSocket *
|
GSocket *
|
||||||
gst_rtsp_stream_get_rtcp_socket (GstRTSPStream * stream, GSocketFamily family)
|
gst_rtsp_stream_get_rtcp_socket (GstRTSPStream * stream, GSocketFamily family)
|
||||||
|
|
Loading…
Reference in a new issue