diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2008-07-07 10:30:51 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2008-07-07 10:30:51 +0000 |
commit | 9f886ee1f2d7437eb121c7049a4b358be25117a9 (patch) | |
tree | 12d7bacedcab3b2eba548b9ccbe5e68d67bcfdac /gst/rtsp | |
parent | 5e2a462789be55a717238ca6f30902b1fc0432c6 (diff) |
gst/rtp/gstrtpvrawdepay.c: Include stdlib.h for atoi().
Original commit message from CVS:
* gst/rtp/gstrtpvrawdepay.c:
Include stdlib.h for atoi().
* gst/rtsp/gstrtspsrc.c:
Use floating point math for latencies < 0 sec in log output.
Diffstat (limited to 'gst/rtsp')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 12e941e1..7b6f00d3 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -2812,7 +2812,7 @@ gst_rtspsrc_loop_udp (GstRTSPSrc * src) GST_ELEMENT_WARNING (src, RESOURCE, READ, (NULL), ("Could not receive any UDP packets for %.4f seconds, maybe your " "firewall is blocking it. Retrying using a TCP connection.", - gst_guint64_to_gdouble (src->udp_timeout / 1000000))); + gst_guint64_to_gdouble (src->udp_timeout / 1000000.0))); /* we can try only TCP now */ src->cur_protocols = GST_RTSP_LOWER_TRANS_TCP; |