rtsp-client: set the client backlog

Set the client backlog to a reasonable default
This commit is contained in:
Wim Taymans 2012-12-14 11:58:29 +01:00
parent 0844e8afbc
commit 4100b20b0a

View file

@ -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);