summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/rtsp-params.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2013-07-22 14:25:04 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2013-07-22 14:25:04 +0200
commitf78a65379ce2227d714ce6315e05fbbd1aa73f9d (patch)
tree450960afbbad98d30c4c7bc496a3546b8602586f /gst/rtsp-server/rtsp-params.c
parent25547176beb92482bf9e21a3904915d44f3a5802 (diff)
ClientState -> Context
Rename the clientstate to context and put the code in a separate file.
Diffstat (limited to 'gst/rtsp-server/rtsp-params.c')
-rw-r--r--gst/rtsp-server/rtsp-params.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gst/rtsp-server/rtsp-params.c b/gst/rtsp-server/rtsp-params.c
index d1f9b69..ce18eaa 100644
--- a/gst/rtsp-server/rtsp-params.c
+++ b/gst/rtsp-server/rtsp-params.c
@@ -31,14 +31,14 @@
/**
* gst_rtsp_params_set:
* @client: a #GstRTSPClient
- * @state: a #GstRTSPClientState
+ * @ctx: a #GstRTSPContext
*
* Set parameters (not implemented yet)
*
* Returns: a #GstRTSPResult
*/
GstRTSPResult
-gst_rtsp_params_set (GstRTSPClient * client, GstRTSPClientState * state)
+gst_rtsp_params_set (GstRTSPClient * client, GstRTSPContext * ctx)
{
GstRTSPStatusCode code;
@@ -46,8 +46,8 @@ gst_rtsp_params_set (GstRTSPClient * client, GstRTSPClientState * state)
* with a list of the parameters */
code = GST_RTSP_STS_PARAMETER_NOT_UNDERSTOOD;
- gst_rtsp_message_init_response (state->response, code,
- gst_rtsp_status_as_text (code), state->request);
+ gst_rtsp_message_init_response (ctx->response, code,
+ gst_rtsp_status_as_text (code), ctx->request);
return GST_RTSP_OK;
}
@@ -55,14 +55,14 @@ gst_rtsp_params_set (GstRTSPClient * client, GstRTSPClientState * state)
/**
* gst_rtsp_params_get:
* @client: a #GstRTSPClient
- * @state: a #GstRTSPClientState
+ * @ctx: a #GstRTSPContext
*
* Get parameters (not implemented yet)
*
* Returns: a #GstRTSPResult
*/
GstRTSPResult
-gst_rtsp_params_get (GstRTSPClient * client, GstRTSPClientState * state)
+gst_rtsp_params_get (GstRTSPClient * client, GstRTSPContext * ctx)
{
GstRTSPStatusCode code;
@@ -70,8 +70,8 @@ gst_rtsp_params_get (GstRTSPClient * client, GstRTSPClientState * state)
* with a list of the parameters */
code = GST_RTSP_STS_PARAMETER_NOT_UNDERSTOOD;
- gst_rtsp_message_init_response (state->response, code,
- gst_rtsp_status_as_text (code), state->request);
+ gst_rtsp_message_init_response (ctx->response, code,
+ gst_rtsp_status_as_text (code), ctx->request);
return GST_RTSP_OK;
}