diff options
Diffstat (limited to 'gst')
| -rw-r--r-- | gst/rtp/gstrtpvrawdepay.c | 1 | ||||
| -rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
2 files changed, 2 insertions, 1 deletions
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; |
