[rygel] core: Set number of tracks
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Set number of tracks
- Date: Mon, 28 May 2012 17:27:25 +0000 (UTC)
commit 2590af74e27eb07b8ab3e70c8abc2d7b65f4fc4e
Author: Jens Georg <mail jensge org>
Date: Mon Dec 26 18:10:14 2011 +0100
core: Set number of tracks
On the first SetAVTransportURI call, set number of tracks to 1.
src/rygel/rygel-av-transport.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-av-transport.vala b/src/rygel/rygel-av-transport.vala
index 1c1a777..a3b9bbf 100644
--- a/src/rygel/rygel-av-transport.vala
+++ b/src/rygel/rygel-av-transport.vala
@@ -228,6 +228,8 @@ internal class Rygel.AVTransport : Service {
this.uri = _uri;
this.metadata = _metadata;
+ this.n_tracks = 1;
+
action.return ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]