[rygel] core: Report slightly more accurate time seek range



commit aed924766845174bae506b9b203c67775a186041
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Apr 14 15:57:20 2011 +0300

    core: Report slightly more accurate time seek range

 src/rygel/rygel-http-time-seek.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/rygel/rygel-http-time-seek.vala b/src/rygel/rygel-http-time-seek.vala
index 9eea7ca..720a9b1 100644
--- a/src/rygel/rygel-http-time-seek.vala
+++ b/src/rygel/rygel-http-time-seek.vala
@@ -101,9 +101,9 @@ internal class Rygel.HTTPTimeSeek : Rygel.HTTPSeek {
         var stop_str = new char[double.DTOSTR_BUF_SIZE];
         var total_str = new char[double.DTOSTR_BUF_SIZE];
 
-        var range = "npt=" + start.format (start_str, "%.2f") + "-" +
-                             stop.format (stop_str, "%.2f") + "/" +
-                             total.format (total_str, "%.2f");
+        var range = "npt=" + start.format (start_str, "%.3f") + "-" +
+                             stop.format (stop_str, "%.3f") + "/" +
+                             total.format (total_str, "%.3f");
 
         this.msg.response_headers.append ("TimeSeekRange.dlna.org", range);
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]