summaryrefslogtreecommitdiffstats
path: root/gst/rtsp
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-03-11 17:59:00 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2009-03-11 18:00:02 +0100
commit515d623dccf13c700caa4736b2713044bc19a3ee (patch)
tree86ce0a5e6faf9bc6003cc893978eb3a470827e56 /gst/rtsp
parentf73398de9181cd662ae301baf00459ecd703986e (diff)
rtspsrc: fix timeout check
---
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index c5d2d908..a0b8d5a3 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -2660,7 +2660,7 @@ gst_rtspsrc_loop_interleaved (GstRTSPSrc * src)
gst_rtsp_connection_next_timeout (src->connection, &tv_timeout);
/* see if the timeout period expired */
- if ((tv_timeout.tv_usec | tv_timeout.tv_usec) == 0) {
+ if ((tv_timeout.tv_sec | tv_timeout.tv_usec) == 0) {
GST_DEBUG_OBJECT (src, "timout, sending keep-alive");
/* send keep-alive, ignore the result, a warning will be posted. */
res = gst_rtspsrc_send_keep_alive (src);