projects
/
platform
/
upstream
/
gst-rtsp-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0844e8a
)
rtsp-client: set the client backlog
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 14 Dec 2012 10:58:29 +0000
(11:58 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 14 Dec 2012 10:58:29 +0000
(11:58 +0100)
Set the client backlog to a reasonable default
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index e8f3957f55b6755cefa6db6f1b2da7cc52e90804..a6510e5d19446180c4155ef03ba4bf4841fb3478 100644
(file)
--- 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);