From 0bf518cd3daad526a16468e82c1d6c715535e9ba Mon Sep 17 00:00:00 2001 From: Yonit Halperin Date: Wed, 5 Oct 2011 09:05:13 +0200 Subject: server: set & test channel capabilities in red_channel The code for setting and testing channel capabilities was unnecessarily duplicated. Now it is in red_channel. RedsChannel was dropped from Reds; It was used only for holding the channels common capabilities, which are now held in RedChannel. --- server/inputs_channel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server/inputs_channel.c') diff --git a/server/inputs_channel.c b/server/inputs_channel.c index 24fc6211..c8b42e3e 100644 --- a/server/inputs_channel.c +++ b/server/inputs_channel.c @@ -496,7 +496,9 @@ static void inputs_connect(RedChannel *channel, RedClient *client, icc = (InputsChannelClient*)red_channel_client_create(sizeof(InputsChannelClient), channel, client, - stream); + stream, + num_common_caps, common_caps, + num_caps, caps); icc->motion_count = 0; inputs_pipe_add_init(&icc->base); } -- cgit