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.
This commit is contained in:
Stefan Kost 2008-07-07 10:30:51 +00:00
parent 5e2a462789
commit 9f886ee1f2
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2008-07-07 Stefan Kost <ensonic@users.sf.net>
* gst/rtp/gstrtpvrawdepay.c:
Include stdlib.h for atoi().
* gst/rtsp/gstrtspsrc.c:
Use floating point math for latencies < 0 sec in log output.
2008-07-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Patch by: Tomasz Grobelny <tomasz at grobelny dot oswiecenia dot net>

View file

@ -24,6 +24,7 @@
#include <gst/rtp/gstrtpbuffer.h>
#include <string.h>
#include <stdlib.h>
#include "gstrtpvrawdepay.h"
GST_DEBUG_CATEGORY_STATIC (rtpvrawdepay_debug);

View file

@ -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;