Commit 9f886ee1 authored by Stefan Kost's avatar Stefan Kost
Browse files

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.
parent 5e2a4627
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>
......
......@@ -24,6 +24,7 @@
#include <gst/rtp/gstrtpbuffer.h>
#include <string.h>
#include <stdlib.h>
#include "gstrtpvrawdepay.h"
GST_DEBUG_CATEGORY_STATIC (rtpvrawdepay_debug);
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment