[rygel/wip/didl-s: 23/25] renderer: Set proper track number



commit 200e6f36a242fe9ed56c15a3cb94d739f99205a7
Author: Jens Georg <jensg openismus com>
Date:   Tue Nov 20 17:07:38 2012 +0100

    renderer: Set proper track number

 src/librygel-renderer/rygel-av-transport.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index 79d7214..83fc111 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -346,8 +346,10 @@ internal class Rygel.AVTransport : Service {
             this.uri = _uri;
             if (_uri == "") {
                 this.n_tracks = 0;
+                this.track = 0;
             } else {
                 this.n_tracks = 1;
+                this.track = 1;
             }
 
             action.return ();



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