From: Wim Taymans Date: Wed, 11 Mar 2009 16:59:00 +0000 (+0100) Subject: rtspsrc: fix timeout check X-Git-Tag: 1.19.3~509^2~10699 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=515d623dccf13c700caa4736b2713044bc19a3ee;p=platform%2Fupstream%2Fgstreamer.git rtspsrc: fix timeout check --- --- diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index c5d2d90..a0b8d5a 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);