gst/sdp/gstsdpdemux.c: Use floating point math for latencies < 0 sec in log output.
authorStefan Kost <ensonic@users.sourceforge.net>
Mon, 7 Jul 2008 10:43:45 +0000 (10:43 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Mon, 7 Jul 2008 10:43:45 +0000 (10:43 +0000)
Original commit message from CVS:
* gst/sdp/gstsdpdemux.c:
Use floating point math for latencies < 0 sec in log output.

ChangeLog
gst/sdp/gstsdpdemux.c

index 150b1623fd9f9cc31e812a28bab6195f84bad861..85481f7a424c7413007b3f0b6ceed58b031be381 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-07  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/sdp/gstsdpdemux.c:
+         Use floating point math for latencies < 0 sec in log output.
+
 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
 
        * gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll2.inc:
index 949d2fab059a9ac29fa9a8efc6693acbad0e8bd5..303452c892bc6e087e55fda807097a594469820d 100644 (file)
@@ -1120,7 +1120,7 @@ gst_sdp_demux_handle_message (GstBin * bin, GstMessage * message)
           GST_ELEMENT_ERROR (demux, RESOURCE, READ, (NULL),
               ("Could not receive any UDP packets for %.4f seconds, maybe your "
                   "firewall is blocking it.",
-                  gst_guint64_to_gdouble (demux->udp_timeout / 1000000)));
+                  gst_guint64_to_gdouble (demux->udp_timeout / 1000000.0)));
         }
         return;
       }