From 4100b20b0ab0df189be926635aa8261323867d25 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 14 Dec 2012 11:58:29 +0100 Subject: [PATCH] rtsp-client: set the client backlog Set the client backlog to a reasonable default --- gst/rtsp-server/rtsp-client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index e8f3957f55..a6510e5d19 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -2463,6 +2463,10 @@ gst_rtsp_client_attach (GstRTSPClient * client, GMainContext * context) g_object_ref (client), (GDestroyNotify) client_watch_notify); gst_rtsp_client_set_send_func (client, do_send_message, NULL, NULL); + /* 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 (priv->watch, 0, 100); + GST_INFO ("attaching to context %p", context); res = gst_rtsp_watch_attach (priv->watch, context); gst_rtsp_watch_unref (priv->watch);