rygel r390 - trunk/src/plugins/dvb
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r390 - trunk/src/plugins/dvb
- Date: Thu, 25 Dec 2008 12:01:40 +0000 (UTC)
Author: zeeshanak
Date: Thu Dec 25 12:01:40 2008
New Revision: 390
URL: http://svn.gnome.org/viewvc/rygel?rev=390&view=rev
Log:
DVBChannel constructor should chain-up to it's parent.
Modified:
trunk/src/plugins/dvb/rygel-dvb-channel.vala
Modified: trunk/src/plugins/dvb/rygel-dvb-channel.vala
==============================================================================
--- trunk/src/plugins/dvb/rygel-dvb-channel.vala (original)
+++ trunk/src/plugins/dvb/rygel-dvb-channel.vala Thu Dec 25 12:01:40 2008
@@ -40,14 +40,16 @@
string parent_id,
dynamic DBus.Object channel_list,
Streamer streamer) throws GLib.Error {
+ string id = parent_id + ":" + cid.to_string (); /* UPnP ID */
+
+ base (id,
+ parent_id,
+ "Unknown", /* Title Unknown at this point */
+ "Unknown", /* UPnP Class Unknown at this point */
+ streamer);
+
this.cid = cid;
- this.id = parent_id + ":" + cid.to_string (); /* UPnP ID */
- this.parent_id = parent_id;
this.channel_list = channel_list;
- this.streamer = streamer;
-
- this.res = DIDLLiteResource ();
- this.res.reset ();
this.fetch_metadata ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]