mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
rtsp-*: Refer to NULL as a constant in comments
Plus one typo fix. https://bugzilla.gnome.org/show_bug.cgi?id=714988
This commit is contained in:
parent
d1a2853659
commit
08160e0913
6 changed files with 15 additions and 15 deletions
|
@ -2846,7 +2846,7 @@ client_watch_notify (GstRTSPClient * client)
|
||||||
* @context: (allow-none): a #GMainContext
|
* @context: (allow-none): a #GMainContext
|
||||||
*
|
*
|
||||||
* Attaches @client to @context. When the mainloop for @context is run, the
|
* Attaches @client to @context. When the mainloop for @context is run, the
|
||||||
* client will be dispatched. When @context is NULL, the default context will be
|
* client will be dispatched. When @context is %NULL, the default context will be
|
||||||
* used).
|
* used).
|
||||||
*
|
*
|
||||||
* This function should be called when the client properties and urls are fully
|
* This function should be called when the client properties and urls are fully
|
||||||
|
|
|
@ -43,13 +43,13 @@ typedef struct _GstRTSPContext GstRTSPContext;
|
||||||
* @request: the complete request
|
* @request: the complete request
|
||||||
* @uri: the complete url parsed from @request
|
* @uri: the complete url parsed from @request
|
||||||
* @method: the parsed method of @uri
|
* @method: the parsed method of @uri
|
||||||
* @auth: the current auth object or NULL
|
* @auth: the current auth object or %NULL
|
||||||
* @token: authorisation token
|
* @token: authorisation token
|
||||||
* @session: the session, can be NULL
|
* @session: the session, can be %NULL
|
||||||
* @sessmedia: the session media for the url can be NULL
|
* @sessmedia: the session media for the url can be %NULL
|
||||||
* @factory: the media factory for the url, can be NULL.
|
* @factory: the media factory for the url, can be %NULL
|
||||||
* @media: the media for the url can be NULL
|
* @media: the media for the url can be %NULL
|
||||||
* @stream: the stream for the url can be NULL
|
* @stream: the stream for the url can be %NULL
|
||||||
* @response: the response
|
* @response: the response
|
||||||
*
|
*
|
||||||
* Information passed around containing the context of a request.
|
* Information passed around containing the context of a request.
|
||||||
|
|
|
@ -2060,7 +2060,7 @@ not_prepared:
|
||||||
/**
|
/**
|
||||||
* gst_rtsp_media_get_time_provider:
|
* gst_rtsp_media_get_time_provider:
|
||||||
* @media: a #GstRTSPMedia
|
* @media: a #GstRTSPMedia
|
||||||
* @address: an address or NULL
|
* @address: an address or %NULL
|
||||||
* @port: a port or 0
|
* @port: a port or 0
|
||||||
*
|
*
|
||||||
* Get the #GstNetTimeProvider for the clock used by @media. The time provider
|
* Get the #GstNetTimeProvider for the clock used by @media. The time provider
|
||||||
|
|
|
@ -225,7 +225,7 @@ has_prefix (DataItem * str, DataItem * prefix)
|
||||||
*
|
*
|
||||||
* Find the factory in @mounts that has the longest match with @path.
|
* Find the factory in @mounts that has the longest match with @path.
|
||||||
*
|
*
|
||||||
* If @matched is NULL, @path willt match the factory exactly otherwise
|
* If @matched is %NULL, @path will match the factory exactly otherwise
|
||||||
* the amount of characters that matched is returned in @matched.
|
* the amount of characters that matched is returned in @matched.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): the #GstRTSPMediaFactory for @path.
|
* Returns: (transfer full): the #GstRTSPMediaFactory for @path.
|
||||||
|
|
|
@ -777,7 +777,7 @@ gst_rtsp_server_set_property (GObject * object, guint propid,
|
||||||
* Create a #GSocket for @server. The socket will listen on the
|
* Create a #GSocket for @server. The socket will listen on the
|
||||||
* configured service.
|
* configured service.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): the #GSocket for @server or NULL when an error occured.
|
* Returns: (transfer full): the #GSocket for @server or %NULL when an error occured.
|
||||||
*/
|
*/
|
||||||
GSocket *
|
GSocket *
|
||||||
gst_rtsp_server_create_socket (GstRTSPServer * server,
|
gst_rtsp_server_create_socket (GstRTSPServer * server,
|
||||||
|
@ -1235,12 +1235,12 @@ watch_destroyed (GstRTSPServer * server)
|
||||||
* Create a #GSource for @server. The new source will have a default
|
* Create a #GSource for @server. The new source will have a default
|
||||||
* #GSocketSourceFunc of gst_rtsp_server_io_func().
|
* #GSocketSourceFunc of gst_rtsp_server_io_func().
|
||||||
*
|
*
|
||||||
* @cancellable if not NULL can be used to cancel the source, which will cause
|
* @cancellable if not %NULL can be used to cancel the source, which will cause
|
||||||
* the source to trigger, reporting the current condition (which is likely 0
|
* the source to trigger, reporting the current condition (which is likely 0
|
||||||
* unless cancellation happened at the same time as a condition change). You can
|
* unless cancellation happened at the same time as a condition change). You can
|
||||||
* check for this in the callback using g_cancellable_is_cancelled().
|
* check for this in the callback using g_cancellable_is_cancelled().
|
||||||
*
|
*
|
||||||
* Returns: the #GSource for @server or NULL when an error occured. Free with
|
* Returns: the #GSource for @server or %NULL when an error occured. Free with
|
||||||
* g_source_unref ()
|
* g_source_unref ()
|
||||||
*/
|
*/
|
||||||
GSource *
|
GSource *
|
||||||
|
@ -1292,7 +1292,7 @@ no_socket:
|
||||||
* @context: (allow-none): a #GMainContext
|
* @context: (allow-none): a #GMainContext
|
||||||
*
|
*
|
||||||
* Attaches @server to @context. When the mainloop for @context is run, the
|
* Attaches @server to @context. When the mainloop for @context is run, the
|
||||||
* server will be dispatched. When @context is NULL, the default context will be
|
* server will be dispatched. When @context is %NULL, the default context will be
|
||||||
* used).
|
* used).
|
||||||
*
|
*
|
||||||
* This function should be called when the server properties and urls are fully
|
* This function should be called when the server properties and urls are fully
|
||||||
|
|
|
@ -195,7 +195,7 @@ gst_rtsp_token_get_structure (GstRTSPToken * token)
|
||||||
* Returns: The structure of the token. The structure is still
|
* Returns: The structure of the token. The structure is still
|
||||||
* owned by the token, which means that you should not free it and
|
* owned by the token, which means that you should not free it and
|
||||||
* that the pointer becomes invalid when you free the token.
|
* that the pointer becomes invalid when you free the token.
|
||||||
* This function checks if @token is writable and will never return NULL.
|
* This function checks if @token is writable and will never return %NULL.
|
||||||
*
|
*
|
||||||
* MT safe.
|
* MT safe.
|
||||||
*/
|
*/
|
||||||
|
@ -216,7 +216,7 @@ gst_rtsp_token_writable_structure (GstRTSPToken * token)
|
||||||
*
|
*
|
||||||
* Get the string value of @field in @token.
|
* Get the string value of @field in @token.
|
||||||
*
|
*
|
||||||
* Returns: the string value of @field in @token or NULL when @field is not
|
* Returns: the string value of @field in @token or %NULL when @field is not
|
||||||
* defined in @token.
|
* defined in @token.
|
||||||
*/
|
*/
|
||||||
const gchar *
|
const gchar *
|
||||||
|
|
Loading…
Reference in a new issue