diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-12-14 11:58:29 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-12-14 12:01:20 +0100 |
commit | c398eae880406604bfc617d596d49015a80d63ee (patch) | |
tree | 611fe1526e602b8b86fe9b2dc235d3647229da2a | |
parent | 5daf78dc690b5b5f033b7c4b5b56286d3fe3e7b7 (diff) |
rtsp-client: set the client backlog
Set the client backlog to a reasonable default
Conflicts:
gst/rtsp-server/rtsp-client.c
-rw-r--r-- | gst/rtsp-server/rtsp-client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index afb3c01..b1a1115 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -2040,6 +2040,10 @@ gst_rtsp_client_accept (GstRTSPClient * client, GIOChannel * channel) client->watch = gst_rtsp_watch_new (client->connection, &watch_funcs, g_object_ref (client), (GDestroyNotify) client_watch_notify); + /* FIXME make this configurable. We don't want to do this yet because it will + * be superceeded by a cache object later */ + gst_rtsp_watch_set_send_backlog (client->watch, 0, 100); + /* find the context to add the watch */ if ((source = g_main_current_source ())) context = g_source_get_context (source); |