summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-03-09 17:05:17 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-03-09 17:05:17 +0000
commitbeef8e01365d8d1ac8257443686c9c734dff111d (patch)
tree07b5ed4ee7984639f55548318cdb2ba4657dc189 /gst
parent7eb71ea0e063cd599a731d8add272754df43ebe5 (diff)
gst/rtsp/gstrtspsrc.c: When activated, remove the udpsrc timeout, we have dataflow and timeouts will later be handled...
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_activate_streams): When activated, remove the udpsrc timeout, we have dataflow and timeouts will later be handled by the jitterbuffer.
Diffstat (limited to 'gst')
-rw-r--r--gst/rtsp/gstrtspsrc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index cb27035c..e6793da1 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -1174,6 +1174,11 @@ gst_rtspsrc_activate_streams (GstRTSPSrc * src)
for (walk = src->streams; walk; walk = g_list_next (walk)) {
GstRTSPStream *stream = (GstRTSPStream *) walk->data;
+ if (stream->udpsrc[0]) {
+ /* remove timeout, we are streaming now and timeouts will be handled by
+ * the session manager and jitter buffer */
+ g_object_set (G_OBJECT (stream->udpsrc[0]), "timeout", (guint64) 0, NULL);
+ }
if (stream->srcpad) {
gst_pad_set_active (stream->srcpad, TRUE);
/* add the pad */