rygel r383 - trunk/src/plugins/dvb



Author: zeeshanak
Date: Thu Dec 25 12:01:01 2008
New Revision: 383
URL: http://svn.gnome.org/viewvc/rygel?rev=383&view=rev

Log:
Initialize the important fields of DVBChannel.

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:01 2008
@@ -40,11 +40,15 @@
                        string              parent_id,
                        dynamic DBus.Object channel_list,
                        Streamer            streamer) throws GLib.Error {
+        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]