[rygel] renderer: Send byte position instead of int.MAX



commit 3944fba60138939af3153a95463501ea30ad015a
Author: Jens Georg <mail jensge org>
Date:   Sat Jun 28 20:43:22 2014 +0200

    renderer: Send byte position instead of int.MAX
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/librygel-renderer/rygel-av-transport.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index acb4e51..52c5e9b 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -408,11 +408,11 @@ internal class Rygel.AVTransport : Service {
                         typeof (string),
                         this.player.position_as_str,
                     "RelCount",
-                        typeof (int),
-                        int.MAX,
+                        typeof (int64),
+                        this.player.byte_position,
                     "AbsCount",
-                        typeof (int),
-                        int.MAX);
+                        typeof (int64),
+                        this.player.byte_position);
 
         action.return ();
     }


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