summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-07-07 10:30:51 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-07-07 10:30:51 +0000
commit9f886ee1f2d7437eb121c7049a4b358be25117a9 (patch)
tree12d7bacedcab3b2eba548b9ccbe5e68d67bcfdac
parent5e2a462789be55a717238ca6f30902b1fc0432c6 (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.
-rw-r--r--ChangeLog8
-rw-r--r--gst/rtp/gstrtpvrawdepay.c1
-rw-r--r--gst/rtsp/gstrtspsrc.c2
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c5e44f0d..39952981 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/gst/rtp/gstrtpvrawdepay.c b/gst/rtp/gstrtpvrawdepay.c
index 6e975ddc..1ab0f4bd 100644
--- a/gst/rtp/gstrtpvrawdepay.c
+++ b/gst/rtp/gstrtpvrawdepay.c
@@ -24,6 +24,7 @@
#include <gst/rtp/gstrtpbuffer.h>
#include <string.h>
+#include <stdlib.h>
#include "gstrtpvrawdepay.h"
GST_DEBUG_CATEGORY_STATIC (rtpvrawdepay_debug);
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;