diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-07-22 14:25:04 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-07-22 14:25:04 +0200 |
commit | f78a65379ce2227d714ce6315e05fbbd1aa73f9d (patch) | |
tree | 450960afbbad98d30c4c7bc496a3546b8602586f /examples | |
parent | 25547176beb92482bf9e21a3904915d44f3a5802 (diff) |
ClientState -> Context
Rename the clientstate to context and put the code in a separate file.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test-cgroups.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/test-cgroups.c b/examples/test-cgroups.c index 8188588..dcd700b 100644 --- a/examples/test-cgroups.c +++ b/examples/test-cgroups.c @@ -54,7 +54,7 @@ static void gst_rtsp_cgroup_pool_finalize (GObject * obj); static void default_thread_enter (GstRTSPThreadPool * pool, GstRTSPThread * thread); static void default_configure_thread (GstRTSPThreadPool * pool, - GstRTSPThread * thread, GstRTSPClientState * state); + GstRTSPThread * thread, GstRTSPContext * ctx); G_DEFINE_TYPE (GstRTSPCGroupPool, gst_rtsp_cgroup_pool, GST_TYPE_RTSP_THREAD_POOL); @@ -118,14 +118,14 @@ default_thread_enter (GstRTSPThreadPool * pool, GstRTSPThread * thread) static void default_configure_thread (GstRTSPThreadPool * pool, - GstRTSPThread * thread, GstRTSPClientState * state) + GstRTSPThread * thread, GstRTSPContext * ctx) { GstRTSPCGroupPool *cpool = GST_RTSP_CGROUP_POOL (pool); const gchar *cls; struct cgroup *cgroup; - if (state->token) - cls = gst_rtsp_token_get_string (state->token, "cgroup.pool.media.class"); + if (ctx->token) + cls = gst_rtsp_token_get_string (ctx->token, "cgroup.pool.media.class"); else cls = NULL; |